8826 libnisdb: variable set but not used

Review Request #753 — Created Nov. 20, 2017 and submitted

tsoome
illumos-gate
8826
5296560...
general
ldap_map.c:56:10: error: variable 'type' set but not used [-Werror=unused-but-set-variable]
  zotypes type;
          ^~~~
ldap_map.c: In function 'verifyIndexMatch':
ldap_map.c:1133:7: error: variable 'len' set but not used [-Werror=unused-but-set-variable]
   int len = 0;
       ^~~
ldap_map.c: In function 'selectTableMapping':
ldap_map.c:1243:25: error: variable 'r' set but not used [-Werror=unused-but-set-variable]
  __nis_table_mapping_t *r, *x, **tp;
                         ^
cc1: all warnings being treated as errors


yuripv
  1. Ship It!
  2. 
      
seeemef@mac.com
  1. LGTM

  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...