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.3.0a1~993^2~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=202a3c422b400ee46c61cb9b22ca8ec4b80dfdfd;p=python 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 2b764b11ca..a363de2beb 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 */