From a17023d37640250b419e0a4dc508de76be33a09a Mon Sep 17 00:00:00 2001 From: Francesco Montorsi Date: Sun, 22 Mar 2009 23:02:55 +0000 Subject: [PATCH] fix building tests in release mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/misc/misctests.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/misc/misctests.cpp b/tests/misc/misctests.cpp index 9e42f1cca3..3e63c5d034 100644 --- a/tests/misc/misctests.cpp +++ b/tests/misc/misctests.cpp @@ -56,9 +56,10 @@ CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( MiscTestCase, "MiscTestCase" ); namespace { -void AssertIfOdd(int n) +bool AssertIfOdd(int n) { wxASSERT_MSG( !(n % 2), "parameter must be even" ); + return true; } } // anonymous namespace -- 2.50.0