]> git.saurik.com Git - wxWidgets.git/commitdiff
fix building tests in release mode
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 22 Mar 2009 23:02:55 +0000 (23:02 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 22 Mar 2009 23:02:55 +0000 (23:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/misc/misctests.cpp

index 9e42f1cca36810cc62712690489c665a3b2503ef..3e63c5d034dc416c060b526ca687cf98102832ad 100644 (file)
@@ -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