From: Włodzimierz Skiba Date: Wed, 22 Mar 2006 14:39:47 +0000 (+0000) Subject: Warning fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d17b1e7621c1b1ed92f1fa321112757a2a8cc367 Warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/debug.h b/include/wx/debug.h index 54573e37a2..50d938e1a9 100644 --- a/include/wx/debug.h +++ b/include/wx/debug.h @@ -171,11 +171,11 @@ if ( cond ) \ ; \ else \ - do \ - { \ - wxFAIL_COND_MSG(#cond, msg); \ - op; \ - } while ( 0 ) + { \ + wxFAIL_COND_MSG(#cond, msg); \ + op; \ + } \ + struct wxDummyCheckStruct /* just to force a semicolon */ /* special form of wxCHECK2: as wxCHECK, but for use in void functions */ /* */