8789 usbgem: variable set but unused

Review Request #728 - Created Nov. 7, 2017 and submitted

Information
Toomas Soome
illumos-gate
8789
78c90dc...
Reviewers
general
../../common/io/usbgem/usbgem.c:925:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
  int ret;
      ^~~
../../common/io/usbgem/usbgem.c: In function 'usbgem_mac_ioctl':
../../common/io/usbgem/usbgem.c:3878:7: error: variable 'cmd' set but not used [-Werror=unused-but-set-variable]
  int  cmd;
       ^~~
../../common/io/usbgem/usbgem.c: In function 'usbgem_m_getstat':
../../common/io/usbgem/usbgem.c:4206:6: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
  int ret;
      ^~~
../../common/io/usbgem/usbgem.c: In function 'usbgem_m_tx':
../../common/io/usbgem/usbgem.c:4568:11: error: variable 'flags' set but not used [-Werror=unused-but-set-variable]
  uint32_t flags;
           ^~~~~

  

Issues

  • 0
  • 2
  • 1
  • 3
Description From Last Updated
Toomas Soome
Andrew Stormont
Toomas Soome
Andrew Stormont
Andrew Stormont
Robert Mustacchi
Yuri Pankov
Toomas Soome
Yuri Pankov
Robert Mustacchi
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...