From: Senthil Kumaran Date: Wed, 19 Oct 2011 18:13:23 +0000 (+0800) Subject: Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c X-Git-Tag: v2.7.3rc1~393 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d583068e7d08634a9141b7101c66c0add14baeeb;p=python Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c --- diff --git a/Modules/_sre.c b/Modules/_sre.c index 200e8dd95f..cd95917962 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c @@ -2744,7 +2744,7 @@ _compile(PyObject* self_, PyObject* args) #if defined(VVERBOSE) #define VTRACE(v) printf v #else -#define VTRACE(v) +#define VTRACE(v) do {} while(0) /* do nothing */ #endif /* Report failure */