]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed some dead code in case of disabled authentication
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 8 Jun 2011 15:23:08 +0000 (17:23 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 8 Jun 2011 15:23:08 +0000 (17:23 +0200)
src/auth/State.cc

index 375bd232ca674c6fb8a70945b53b09b105ececb1..9c483855d93ff69b6eeddbdec6d67fef96bbbe81 100644 (file)
@@ -1,4 +1,6 @@
 #include "config.h"
+
+#if USE_AUTH
 #include "auth/State.h"
 
 CBDATA_GLOBAL_TYPE(authenticateStateData);
@@ -9,3 +11,4 @@ authenticateStateFree(authenticateStateData * r)
     r->auth_user_request = NULL;
     cbdataFree(r);
 }
+#endif /* USE_AUTH */