Skip to content

Commit 2f00495

Browse files
committed
CppUTest: remove unused stub function in TestRegistry test
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() ^~~~
1 parent 0e228b5 commit 2f00495

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/CppUTest/test/TestRegistryTest.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131

3232
namespace
3333
{
34-
void stub()
35-
{
36-
}
3734
const int testLineNumber = 1;
3835
}
3936

0 commit comments

Comments
 (0)