From bfb8d9855e2d923a7265aa23126a1b9ff30fc341 Mon Sep 17 00:00:00 2001 From: Peter Colberg Date: Wed, 23 Feb 2022 18:48:13 -0500 Subject: [PATCH] CppUTest: remove unused stub function in TestRegistry test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is aligned with the current upstream version of this file: https://github.com/cpputest/cpputest/blob/a1913dec36d277fd3d169a323b7c0d2b11950c43/tests/CppUTest/TestRegistryTest.cpp#L33-L36 [61/113] Building CXX object lib/CppUTest/test/CMakeFiles/CppUTestTests.dir/TestRegistryTest.cpp.o ../lib/CppUTest/test/TestRegistryTest.cpp:34:6: warning: ‘void {anonymous}::stub()’ defined but not used [-Wunused-function] void stub() ^~~~ --- lib/CppUTest/test/TestRegistryTest.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/CppUTest/test/TestRegistryTest.cpp b/lib/CppUTest/test/TestRegistryTest.cpp index 1a882e2c..5a6fd674 100644 --- a/lib/CppUTest/test/TestRegistryTest.cpp +++ b/lib/CppUTest/test/TestRegistryTest.cpp @@ -31,9 +31,6 @@ namespace { -void stub() -{ -} const int testLineNumber = 1; }