default - Fix closes Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c

Patch by Petri Lehtinen and Josh Triplett.
This commit is contained in:
Senthil Kumaran 2011-10-20 02:16:59 +08:00
commit c6b4ef105e

View file

@ -2730,7 +2730,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 */