From a88a7e37dd80c6438a5d12352bf10b8ac8098a88 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Fri, 13 Feb 1998 06:46:14 +0000 Subject: [PATCH] remove storeCleanupComplete comment out ConvertFromFile for now --- src/store_rebuild.cc | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/store_rebuild.cc b/src/store_rebuild.cc index 304d32c388..18b65bffd7 100644 --- a/src/store_rebuild.cc +++ b/src/store_rebuild.cc @@ -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) { -- 2.47.2