]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove unused DPRINTF in ceval.c (GH-129282)
authorChris Eibl <138194463+chris-eibl@users.noreply.github.com>
Sat, 25 Jan 2025 10:33:26 +0000 (11:33 +0100)
committerGitHub <noreply@github.com>
Sat, 25 Jan 2025 10:33:26 +0000 (18:33 +0800)
remove unused DPRINTF in ceval.c

Python/ceval.c

index 171b383d547e35489b197b325557e26bc28cb74c..1bdae338845758d89b2cd53d509a38ac051d6de9 100644 (file)
@@ -1063,13 +1063,6 @@ enter_tier_two:
 #undef ENABLE_SPECIALIZATION_FT
 #define ENABLE_SPECIALIZATION_FT 0
 
-#ifdef Py_DEBUG
-    #define DPRINTF(level, ...) \
-        if (lltrace >= (level)) { printf(__VA_ARGS__); }
-#else
-    #define DPRINTF(level, ...)
-#endif
-
     ; // dummy statement after a label, before a declaration
     uint16_t uopcode;
 #ifdef Py_STATS