]> granicus.if.org Git - curl/commitdiff
curl_sasl_sspi.c: Fixed more compilation warnings from commit 4b491c675f
authorSteve Holme <steve_holme@hotmail.com>
Thu, 14 Aug 2014 15:02:02 +0000 (16:02 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Thu, 14 Aug 2014 15:03:16 +0000 (16:03 +0100)
warning: unused variable 'resp'

warning: no previous prototype for 'Curl_sasl_gssapi_cleanup'

lib/curl_sasl_sspi.c

index 6fd6c88c7d10ebbc6153d923fe5e8467ebf2d928..9a7eee744afb5797d71f7a12a7334bb6c2c3d879 100644 (file)
@@ -44,6 +44,8 @@
 /* The last #include file should be: */
 #include "memdebug.h"
 
+void Curl_sasl_gssapi_cleanup(struct kerberos5data *krb5);
+
 /*
  * Curl_sasl_build_spn()
  *
@@ -303,7 +305,6 @@ CURLcode Curl_sasl_create_gssapi_user_message(struct SessionHandle *data,
   CURLcode result = CURLE_OK;
   size_t chlglen = 0;
   unsigned char *chlg = NULL;
-  unsigned char *resp = NULL;
   CtxtHandle context;
   PSecPkgInfo SecurityPackage;
   SecBuffer chlg_buf;