On 08/07/11 09:10, Markus Moeller wrote:
Hi Amos,

Could you please add this to the trunk.

Thank you
Markus


Sorry, I thought I got that one in already. Applied now.
Also applied the fix for bug 3195.

Recent versions of GCC have started failing with unused variable warnings in the SASL support files. Is this attached patch okay? or should something actually be happening with the related flags?

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.14
  Beta testers wanted for 3.2.0.9
=== modified file 'helpers/external_acl/kerberos_ldap_group/support_sasl.cc'
--- helpers/external_acl/kerberos_ldap_group/support_sasl.cc	2010-08-14 00:12:49 +0000
+++ helpers/external_acl/kerberos_ldap_group/support_sasl.cc	2011-07-11 23:51:30 +0000
@@ -136,9 +136,6 @@
 {
     const char *dflt = interact->defresult;
 
-    int noecho = 0;
-    int challenge = 0;
-
     flags = flags;
     switch (interact->id) {
     case SASL_CB_GETREALM:
@@ -152,18 +149,14 @@
     case SASL_CB_PASS:
         if (defaults)
             dflt = defaults->passwd;
-        noecho = 1;
         break;
     case SASL_CB_USER:
         if (defaults)
             dflt = defaults->authzid;
         break;
     case SASL_CB_NOECHOPROMPT:
-        noecho = 1;
-        challenge = 1;
         break;
     case SASL_CB_ECHOPROMPT:
-        challenge = 1;
         break;
     }
 

Reply via email to