https://github.com/python/cpython/commit/91b7f2e7f6593acefda4fa860250dd87d6f849bf
commit: 91b7f2e7f6593acefda4fa860250dd87d6f849bf
branch: main
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2024-09-01T15:43:45Z
summary:

gh-123553: Fix compile warning in `compile.c` (#123578)

files:
M Python/compile.c

diff --git a/Python/compile.c b/Python/compile.c
index 37db0d4f26ff15..4aa9e7b25eec4c 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -102,7 +102,9 @@ typedef _PyJumpTargetLabel jump_target_label;
 
 enum fblocktype;
 
+#ifndef NDEBUG
 static int compiler_is_top_level_await(struct compiler *c);
+#endif
 static PyObject *compiler_mangle(struct compiler *c, PyObject *name);
 static PyObject *compiler_maybe_mangle(struct compiler *c, PyObject *name);
 static int compiler_optimization_level(struct compiler *c);

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to