From: wessels <> Date: Fri, 13 Feb 1998 06:46:14 +0000 (+0000) Subject: remove storeCleanupComplete X-Git-Tag: SQUID_3_0_PRE1~4101 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a88a7e37dd80c6438a5d12352bf10b8ac8098a88;p=thirdparty%2Fsquid.git remove storeCleanupComplete comment out ConvertFromFile for now --- 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) {