]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed UNUSED_CODE guards around check_null_access_log() because it is still
authorAlex Rousskov <rousskov@measurement-factory.com>
Tue, 30 Sep 2008 20:36:15 +0000 (14:36 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Tue, 30 Sep 2008 20:36:15 +0000 (14:36 -0600)
used.  I do not know whether the latter is a bug, so this fix may be wrong,
but it allows trunk to build.

src/cache_cf.cc

index c6f6a3f1143eb1265eab8f2775c6671d7af053d7..1cd44b7094dae4d5bc92c202ec38413924333442 100644 (file)
@@ -107,9 +107,7 @@ 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);
@@ -3392,13 +3390,11 @@ 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)