From: Senthil Kumaran Date: Wed, 19 Oct 2011 18:15:36 +0000 (+0800) Subject: 3.2 - Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c X-Git-Tag: v3.2.3rc1~490 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=202a3c422b400ee46c61cb9b22ca8ec4b80dfdfd;p=thirdparty%2FPython%2Fcpython.git 3.2 - 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 2b764b11cadc..a363de2beb99 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c @@ -2760,7 +2760,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 */