Including Alex.

Mathi.

----- anders.wid...@ericsson.com wrote:

> osaf/services/saf/plmsv/plms/hpi_intf/plms_hsm.c |  2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> 
> The following warning was fixed:
> 
> plms_hsm.c: In function 'hsm_discover_and_dispatch':
> plms_hsm.c:685:20: error: unused variable 'my_entity_path'
> [-Werror=unused-variable]
>   SaHpiEntityPathT  my_entity_path;
>                     ^
> plms_hsm.c:684:20: error: unused variable 'hpirc'
> [-Werror=unused-variable]
>   SaErrorT          hpirc = SA_OK;
>                     ^
> 
> diff --git a/osaf/services/saf/plmsv/plms/hpi_intf/plms_hsm.c
> b/osaf/services/saf/plmsv/plms/hpi_intf/plms_hsm.c
> --- a/osaf/services/saf/plmsv/plms/hpi_intf/plms_hsm.c
> +++ b/osaf/services/saf/plmsv/plms/hpi_intf/plms_hsm.c
> @@ -681,8 +681,10 @@ static SaUint32T hsm_discover_and_dispat
>  {
>       PLMS_HSM_CB       *cb = hsm_cb;
>       PLMS_CB           *plmscb = plms_cb;
> +#if (HPI_VERSION(SAHPI_INTERFACE_VERSION) >= 0x020301)
>       SaErrorT          hpirc = SA_OK;
>       SaHpiEntityPathT  my_entity_path;
> +#endif
>       SaHpiDomainInfoT  prev_domain_info;
>       SaHpiDomainInfoT  latest_domain_info;
>       SaHpiEntryIdT     current;

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to