8779 mech_spnego: variable set but not used

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

tsoome
illumos-gate
8779
58fb47a...
general
../mech/spnego_mech.c:1170:15: error: variable 'negHintsSize' set but not used [-Werror=unused-but-set-variable]
  unsigned int negHintsSize = 0;
               ^~~~~~~~~~~~
../mech/spnego_mech.c: In function 'spnego_gss_accept_sec_context':
../mech/spnego_mech.c:1858:12: error: variable 'mechstat' set but not used [-Werror=unused-but-set-variable]
  OM_uint32 mechstat = GSS_S_FAILURE;
            ^~~~~~~~
At top level:
../mech/spnego_mech.c:1118:27: error: 'gss_mech_krb5_wrong_oid' defined but not used [-Werror=unused-const-variable=]
 static const gss_OID_desc gss_mech_krb5_wrong_oid =
                           ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors


seeemef@mac.com
  1. LGTM

  2. 
      
yuripv
  1. Ship It!
  2. 
      
jgmills
  1. Looks good to me.

  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...