From: Francesco Montorsi Date: Sun, 22 Mar 2009 23:02:55 +0000 (+0000) Subject: fix building tests in release mode X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a17023d37640250b419e0a4dc508de76be33a09a fix building tests in release mode git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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