8766 pcitool: typedef locally defined but not used

Review Request #706 - Created Nov. 6, 2017 and submitted

Information
Toomas Soome
illumos-gate
8766
4be7387...
Reviewers
general
../pcitool_ui.c: In function 'parse_nexus_opts':
../pcitool_ui.c:904:4: error: typedef 'nexus_opts_index_t' locally defined but not used [-Werror=unused-local-typedefs]
  } nexus_opts_index_t;
    ^~~~~~~~~~~~~~~~~~
../pcitool_ui.c: In function 'parse_device_opts':
../pcitool_ui.c:1076:4: error: typedef 'bdf_opts_index_t' locally defined but not used [-Werror=unused-local-typedefs]
  } bdf_opts_index_t;
    ^~~~~~~~~~~~~~~~
../pcitool_ui.c: In function 'parse_probeone_opts':
../pcitool_ui.c:1444:4: error: typedef 'p1_bdf_opts_index_t' locally defined but not used [-Werror=unused-local-typedefs]
  } p1_bdf_opts_index_t;
    ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
*** Error code 1
dmake: Fatal error: Command failed for target `pcitool_ui.o'

  
Andrew Stormont
Toomas Soome
C Fraire
Jason King
Yuri Pankov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...