summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-10-19 18:16:59 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-10-19 18:16:59 (GMT)
commitc6b4ef105e68165467de8424aab4b8b40fc458ed (patch)
tree36a123f055c98ab47db21e8dc733db263849ea38 /Modules
parent7e3062b320a52f7b73751c432c33c1e46085de59 (diff)
parent202a3c422b400ee46c61cb9b22ca8ec4b80dfdfd (diff)
downloadcpython-c6b4ef105e68165467de8424aab4b8b40fc458ed.zip
cpython-c6b4ef105e68165467de8424aab4b8b40fc458ed.tar.gz
cpython-c6b4ef105e68165467de8424aab4b8b40fc458ed.tar.bz2
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.
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 395a120..56f35c3 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -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 */