From d17b1e7621c1b1ed92f1fa321112757a2a8cc367 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Wed, 22 Mar 2006 14:39:47 +0000 Subject: [PATCH] Warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/debug.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 */ /* */ -- 2.50.0