From 6174699e77be604853a4e2cd23c39160789e40ad Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Wed, 8 Jun 2011 17:23:08 +0200 Subject: [PATCH] Removed some dead code in case of disabled authentication --- src/auth/State.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/auth/State.cc b/src/auth/State.cc index 375bd232ca..9c483855d9 100644 --- a/src/auth/State.cc +++ b/src/auth/State.cc @@ -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 */ -- 2.47.2