]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
ext_kerberos_ldap_group_acl: fix unused value warnings
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 18 Feb 2017 18:05:57 +0000 (07:05 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 18 Feb 2017 18:05:57 +0000 (07:05 +1300)
 Detected by Coverity Scan. Issues 1364748 and 1364749.

src/acl/external/kerberos_ldap_group/support_ldap.cc

index 8bfff497a54c022401ac2406e8f91ca9b4e1fa6a..96c9ced0fddb6a4fe3fb95e3fdd55b11087c0cad 100644 (file)
@@ -1039,8 +1039,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