From: Alex Rousskov Date: Sat, 2 Apr 2022 16:46:28 +0000 (+0000) Subject: Maintenance: Removed a few known unused globals from src/tests (#1008) X-Git-Tag: SQUID_6_0_1~214 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43675e556c6a3b45921a7e8a3ae015c7830576dd;p=thirdparty%2Fsquid.git Maintenance: Removed a few known unused globals from src/tests (#1008) --- diff --git a/src/Makefile.am b/src/Makefile.am index f6bf1f8f81..a79b89ca73 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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 = \ diff --git a/src/tests/testIpAddress.cc b/src/tests/testIpAddress.cc index 695d97f3b2..6516dbe5c6 100644 --- a/src/tests/testIpAddress.cc +++ b/src/tests/testIpAddress.cc @@ -27,12 +27,6 @@ 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() {