]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ext_kerberos_ldap_group_acl: fix unused value warnings
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 26 Feb 2017 08:56:17 +0000 (21:56 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 26 Feb 2017 08:56:17 +0000 (21:56 +1300)
 Detected by Coverity Scan. Issues 1364748 and 1364749.

helpers/external_acl/kerberos_ldap_group/support_ldap.cc

index 4e3afe935290de1a35e3b128ea931097237f28b2..5e80124e46b56ca2e425a7d1a7cd2c71bca44a1b 100644 (file)
@@ -919,8 +919,8 @@ get_memberof(struct main_args *margs, char *user, char *domain, char *group)
     /*
      * Initialise ldap
      */
-    ldap_debug = 127 /* LDAP_DEBUG_TRACE */ ;
-    ldap_debug = -1 /* LDAP_DEBUG_ANY */ ;
+//    ldap_debug = 127 /* LDAP_DEBUG_TRACE */ ;
+//    ldap_debug = -1 /* LDAP_DEBUG_ANY */ ;
     ldap_debug = 0;
     (void) ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &ldap_debug);
 #endif