]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/testStoreHashIndex.cc
Activate extra compiler checks (#667)
[thirdparty/squid.git] / src / tests / testStoreHashIndex.cc
index a676caa3d43dd747a18eccd9461e0220d627f52d..595ad784f8ca420c76988a36096dfd193015c93f 100644 (file)
@@ -62,12 +62,11 @@ testStoreHashIndex::testMaxSize()
     Store::FreeMemory();
 }
 
-StoreEntry *
+static StoreEntry *
 addedEntry(Store::Disk *aStore,
            String name,
-           String varySpec,
-           String varyKey
-
+           String,
+           String
           )
 {
     StoreEntry *e = new StoreEntry();
@@ -95,7 +94,7 @@ addedEntry(Store::Disk *aStore,
     return e;
 }
 
-void commonInit()
+static void commonInit()
 {
     static bool inited = false;
 
@@ -116,7 +115,7 @@ void commonInit()
 static bool cbcalled;
 
 static void
-searchCallback(void *cbdata)
+searchCallback(void *)
 {
     cbcalled = true;
 }