]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
access_log now optional. check_null function no longer needed
authorhno <>
Fri, 17 Aug 2007 09:35:31 +0000 (09:35 +0000)
committerhno <>
Fri, 17 Aug 2007 09:35:31 +0000 (09:35 +0000)
src/cache_cf.cc

index 204e2614821d19449703d2117f68735c4bc0f5da..939d18061e67af95a267362d95014e222a95c44d 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.518 2007/08/16 13:46:20 hno Exp $
+ * $Id: cache_cf.cc,v 1.519 2007/08/17 03:35:31 hno Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -90,7 +90,9 @@ static const char *const list_sep = ", \t\n\r";
 
 static void parse_logformat(logformat ** logformat_definitions);
 static void parse_access_log(customlog ** customlog_definitions);
+#if UNUSED_CODE
 static int check_null_access_log(customlog *customlog_definitions);
+#endif
 
 static void dump_logformat(StoreEntry * entry, const char *name, logformat * definitions);
 static void dump_access_log(StoreEntry * entry, const char *name, customlog * definitions);
@@ -3142,11 +3144,13 @@ done:
     *logs = cl;
 }
 
+#if UNUSED_CODE
 static int
 check_null_access_log(customlog *customlog_definitions)
 {
     return customlog_definitions == NULL;
 }
+#endif
 
 static void
 dump_logformat(StoreEntry * entry, const char *name, logformat * definitions)