]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Maintenance: Removed a few known unused globals from src/tests (#1008)
authorAlex Rousskov <rousskov@measurement-factory.com>
Sat, 2 Apr 2022 16:46:28 +0000 (16:46 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Sun, 3 Apr 2022 01:29:14 +0000 (01:29 +0000)
src/Makefile.am
src/tests/testIpAddress.cc

index f6bf1f8f810edf080f35921dc0f02c82a0ae3c6b..a79b89ca73890dc28d8fc151ded7817e415d0330 100644 (file)
@@ -2498,7 +2498,6 @@ nodist_tests_testIcmp_SOURCES = \
        tests/stub_SBuf.cc \
        SquidTime.h \
        tests/stub_debug.cc \
-       globals.cc \
        icmp/Icmp.h \
        tests/stub_libmem.cc \
        time.cc
@@ -2519,7 +2518,6 @@ nodist_tests_testNetDb_SOURCES = \
        tests/stub_SBuf.cc \
        SquidTime.h \
        tests/stub_debug.cc \
-       globals.cc \
        tests/stub_libmem.cc \
        time.cc
 tests_testNetDb_LDADD = \
index 695d97f3b2d54558eee6011a55e90b640755db24..6516dbe5c6877d1d384d9b35042719a17412618b 100644 (file)
 
 CPPUNIT_TEST_SUITE_REGISTRATION( testIpAddress );
 
-/* so that we don't break POD dependency just for the test */
-struct timeval current_time;
-double current_dtime;
-time_t squid_curtime = 0;
-int shutting_down = 0;
-
 void
 testIpAddress::testDefaults()
 {