Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 202a3c4

Browse files
committed
3.2 - Fix Issue 12604 - Use a proper no-op macro expansion for VTRACE macro in _sre.c
1 parent 29fa9d4 commit 202a3c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_sre.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2760,7 +2760,7 @@ _compile(PyObject* self_, PyObject* args)
27602760
#if defined(VVERBOSE)
27612761
#define VTRACE(v) printf v
27622762
#else
2763-
#define VTRACE(v)
2763+
#define VTRACE(v) do {} while(0) /* do nothing */
27642764
#endif
27652765

27662766
/* Report failure */

0 commit comments

Comments
 (0)