summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-10-19 18:15:36 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-10-19 18:15:36 (GMT)
commit202a3c422b400ee46c61cb9b22ca8ec4b80dfdfd (patch)
tree8290d6e65e92b50708658411f49fc6380f88f4b1 /Modules
parent29fa9d4d68af7d22b88545fa8bc4ae186d256fd3 (diff)
downloadcpython-202a3c422b400ee46c61cb9b22ca8ec4b80dfdfd.zip
cpython-202a3c422b400ee46c61cb9b22ca8ec4b80dfdfd.tar.gz
cpython-202a3c422b400ee46c61cb9b22ca8ec4b80dfdfd.tar.bz2
3.2 - 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 2b764b1..a363de2 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 */