8827 libldap5: variable set but not used

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

tsoome
illumos-gate
8827
ed31929...
general
../sources/ldap/common/tmplout.c: In function 'do_entry2text_search':
../sources/ldap/common/tmplout.c:451:25: error: variable 'html' set but not used [-Werror=unused-but-set-variable]
     int    err, freedn, html;
                         ^~~~
../sources/ldap/common/tmplout.c: In function 'searchaction':
../sources/ldap/common/tmplout.c:1042:41: error: variable 'selectname' set but not used [-Werror=unused-but-set-variable]
     char  *value, *filtpattern, *attr, *selectname;
                                         ^~~~~~~~~~
cc1: all warnings being treated as errors


seeemef@mac.com
  1. LGTM

  2. 
      
jgmills
  1. Looks good to me.

  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...