8818 i86xpv/generic_cpu: variable set but not used

Review Request #745 - Created Nov. 19, 2017 and submitted

Information
Toomas Soome
illumos-gate
8818
29b3980...
Reviewers
general
../../i86xpv/cpu/generic_cpu/gcpu_mca_xpv.c: In function 'gcpu_xpv_proxy_logout':
../../i86xpv/cpu/generic_cpu/gcpu_mca_xpv.c:82:6: error: variable 'nbanks' set but not used [-Werror=unused-but-set-variable]
  int nbanks, j;
      ^~~~~~

../../i86xpv/cpu/generic_cpu/gcpu_mca_xpv.c: In function 'gcpu_xpv_proxy_logout':
../../i86xpv/cpu/generic_cpu/gcpu_mca_xpv.c:79:15: error: variable 'gcpu' set but not used [-Werror=unused-but-set-variable]
  gcpu_data_t *gcpu;
               ^~~~
cc1: all warnings being treated as errors

  
Yuri Pankov
Gary Mills
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...