8779 mech_spnego: variable set but not used

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

Information
Toomas Soome
illumos-gate
8779
58fb47a...
Reviewers
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

  
C Fraire
Yuri Pankov
Gary Mills
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...