8826 libnisdb: variable set but not used

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

Information
Toomas Soome
illumos-gate
8826
5296560...
Reviewers
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

  
Yuri Pankov
C Fraire
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...