]> granicus.if.org Git - neomutt/commitdiff
mute build warning
authorRichard Russon <rich@flatcap.org>
Wed, 17 Feb 2016 20:41:53 +0000 (20:41 +0000)
committerRichard Russon <rich@flatcap.org>
Fri, 26 Feb 2016 16:36:03 +0000 (16:36 +0000)
imap/auth_gss.c

index ab21fd3648258f2fe92263421348f9aecd78f1ce..89618a08bd2a3e0196f3387c733195d37a06a58a 100644 (file)
@@ -91,7 +91,7 @@ imap_auth_res_t imap_auth_gss (IMAP_DATA* idata, const char* method)
   gss_qop_t quality;
   int cflags;
   OM_uint32 maj_stat, min_stat;
-  char buf1[GSS_BUFSIZE], buf2[GSS_BUFSIZE], server_conf_flags;
+  char buf1[GSS_BUFSIZE], buf2[GSS_BUFSIZE];
   unsigned long buf_size;
   int rc;
 
@@ -230,7 +230,9 @@ imap_auth_res_t imap_auth_gss (IMAP_DATA* idata, const char* method)
   dprint (2, (debugfile, "Credential exchange complete\n"));
 
   /* first octet is security levels supported. We want NONE */
-  server_conf_flags = ((char*) send_token.value)[0];
+#ifdef DEBUG
+  char server_conf_flags = ((char*) send_token.value)[0];
+#endif
   if ( !(((char*) send_token.value)[0] & GSS_AUTH_P_NONE) )
   {
     dprint (2, (debugfile, "Server requires integrity or privacy\n"));