8848 hbaapi: variable set but not used

Review Request #774 - Created Nov. 21, 2017 and submitted

Information
Toomas Soome
illumos-gate
8848
8df760e...
Reviewers
general
../common/HBAAPILIB.c: In function 'HBA_LoadLibrary':
../common/HBAAPILIB.c:518:17: error: variable 'libversion' set but not used [-Werror=unused-but-set-variable]
     HBA_UINT32  libversion;
                 ^~~~~~~~~~
../common/HBAAPILIB.c: In function 'HBA_FreeLibrary':
../common/HBAAPILIB.c:877:17: error: variable 'status' set but not used [-Werror=unused-but-set-variable]
     HBA_STATUS  status;
                 ^~~~~~
cc1: all warnings being treated as errors

  
Yuri Pankov
Gary Mills
Toomas Soome
Yuri Pankov
Gary Mills
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...