8771 kadmin/kdcmgr: variable set but not used

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

tsoome
illumos-gate
8771
2a449db...
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
  1. Ship It!
  2. 
      
alp
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...