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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d583068e7d08634a9141b7101c66c0add14baeeb;p=thirdparty%2FPython%2Fcpython.git 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 200e8dd95f45..cd9591796283 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 */