summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-10-19 18:13:23 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-10-19 18:13:23 (GMT)
commitd583068e7d08634a9141b7101c66c0add14baeeb (patch)
tree938266259897101dc6b3a33167a0d9361cc53cd1 /Modules
parentddd40312d502257adbcad4e9bdcecd237900f95a (diff)
downloadcpython-d583068e7d08634a9141b7101c66c0add14baeeb.zip
cpython-d583068e7d08634a9141b7101c66c0add14baeeb.tar.gz
cpython-d583068e7d08634a9141b7101c66c0add14baeeb.tar.bz2
Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_sre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 200e8dd..cd95917 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 */