]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
remove storeCleanupComplete
authorwessels <>
Fri, 13 Feb 1998 06:46:14 +0000 (06:46 +0000)
committerwessels <>
Fri, 13 Feb 1998 06:46:14 +0000 (06:46 +0000)
comment out ConvertFromFile for now

src/store_rebuild.cc

index 304d32c388ada3d16b41c7cf6bc5a0753c2b56df..18b65bffd7343a405cc3292b4fab713b3926b3ec 100644 (file)
@@ -364,6 +364,7 @@ storeRebuildADirectory(void *unused)
        eventAdd("storeRebuild", storeRebuildADirectory, NULL, 0);
 }
 
+#if TEMP_UNUSED_CODE
 static void
 storeConvertFile(const cache_key * key,
     int file_number,
@@ -407,6 +408,7 @@ storeConvertFile(const cache_key * key,
     xfree(buf);
     storeSwapTLVFree(tlv_list);
 }
+#endif
 
 static int
 storeGetNextFile(rebuild_dir * d, int *sfileno, int *size)
@@ -594,20 +596,6 @@ storeCleanup(void *datanotused)
     eventAdd("storeCleanup", storeCleanup, NULL, 0);
 }
 
-#if OLD_CODE
-void
-storeCleanupComplete(void *data, int retcode, int errcode)
-{
-    StoreEntry *e = data;
-    storeUnlockObject(e);
-    outvalid--;
-    if (retcode == -2 && errcode == -2)
-       return;
-    if (!EBIT_TEST(e->flag, ENTRY_VALIDATED))
-       storeRelease(e);
-}
-#endif
-
 void
 storeValidate(StoreEntry * e, STVLDCB * callback, void *callback_data, void *tag)
 {