]> granicus.if.org Git - python/commitdiff
3.2 - Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c
authorSenthil Kumaran <senthil@uthcode.com>
Wed, 19 Oct 2011 18:15:36 +0000 (02:15 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Wed, 19 Oct 2011 18:15:36 +0000 (02:15 +0800)
Modules/_sre.c

index 2b764b11cadcef2bfdf98c4985f8d5356dad996d..a363de2beb993d83c6b14fd2858aa3c8071dcece 100644 (file)
@@ -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 */