]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed dead code from stub_cache_cf.cc and stub_client_side_request.cc
authorFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 7 Aug 2012 15:58:08 +0000 (17:58 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Tue, 7 Aug 2012 15:58:08 +0000 (17:58 +0200)
src/tests/stub_cache_cf.cc
src/tests/stub_client_side_request.cc

index d68cabc749d2305d559e31ecc0e983e157058699..e5e9b0c679566c611f13c0b32204fb6c6d6553f4 100644 (file)
@@ -43,35 +43,7 @@ void self_destruct(void) STUB
 void parse_int(int *var) STUB
 void parse_onoff(int *var) STUB
 void parse_eol(char *volatile *var) STUB
-#if 0
-{
-    unsigned char *token = (unsigned char *) strtok(NULL, null_string);
-    safe_free(*var);
-
-    if (token == NULL)
-        self_destruct();
-
-    while (*token && xisspace(*token))
-        ++token;
-
-    if (!*token)
-        self_destruct();
-
-    *var = xstrdup((char *) token);
-}
-#endif
-
 void parse_wordlist(wordlist ** list) STUB
-#if 0
-{
-    char *token;
-    char *t = strtok(NULL, "");
-
-    while ((token = strwordtok(NULL, &t)))
-        wordlistAdd(list, token);
-}
-#endif
-
 void requirePathnameExists(const char *name, const char *path) STUB_NOP
 void parse_time_t(time_t * var) STUB
 char * strtokFile(void) STUB_RETVAL(NULL)
index e91b22fdf2e96d6127778912403783bc734ce0a0..4b37fbb51cc0286e8f6e156cadc416286d84d254 100644 (file)
@@ -34,8 +34,3 @@
 #include "squid.h"
 #include "client_side_request.h"
 #include "Store.h"
-
-#if !_USE_INLINE_
-#include "client_side_request.cci"
-#endif
-