Fix three build warnings when DEBUG isn't defined. Patch against hg:cc1af19c0763
--- diff -urN mutt/hcache.c mutt.fix/hcache.c --- mutt/hcache.c 2016-03-17 23:01:11.429854678 +0000 +++ mutt.fix/hcache.c 2016-03-17 22:29:12.482749177 +0000 @@ -931,8 +931,10 @@ return 0; else { +#ifdef DEBUG int ecode = tcbdbecode (h->db); dprint (2, (debugfile, "tcbdbopen failed for %s: %s (ecode %d)\n", path, tcbdberrmsg (ecode), ecode)); +#endif tcbdbdel(h->db); return -1; } @@ -946,8 +948,10 @@ if (!tcbdbclose(h->db)) { +#ifdef DEBUG int ecode = tcbdbecode (h->db); dprint (2, (debugfile, "tcbdbclose failed for %s: %s (ecode %d)\n", h->folder, tcbdberrmsg (ecode), ecode)); +#endif } tcbdbdel(h->db); FREE(&h->folder); diff -urN mutt/imap/auth_gss.c mutt.fix/imap/auth_gss.c --- mutt/imap/auth_gss.c 2016-03-17 23:01:11.429854678 +0000 +++ mutt.fix/imap/auth_gss.c 2016-03-17 22:55:26.426620379 +0000 @@ -87,11 +87,12 @@ gss_ctx_id_t context; #ifdef DEBUG gss_OID mech_name; + char server_conf_flags; #endif 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 +231,9 @@ dprint (2, (debugfile, "Credential exchange complete\n")); /* first octet is security levels supported. We want NONE */ +#ifdef DEBUG 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"));