8771 kadmin/kdcmgr: variable set but not used

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

Information
Toomas Soome
illumos-gate
8771
2a449db...
Reviewers
general
klookup.c: In function 'main':
klookup.c:55:21: error: variable 'weight' set but not used [-Werror=unused-but-set-variable]
  int ttl, priority, weight, port, size;
                     ^~~~~~
klookup.c:55:11: error: variable 'priority' set but not used [-Werror=unused-but-set-variable]
  int ttl, priority, weight, port, size;
           ^~~~~~~~
klookup.c:55:6: error: variable 'ttl' set but not used [-Werror=unused-but-set-variable]
  int ttl, priority, weight, port, size;
      ^~~
cc1: all warnings being treated as errors

  
Hans Rosenfeld
Alexander Pyhalov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...