aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/compile.c
diff options
context:
space:
mode:
authorsobolevn <mail@sobolevn.me>2024-09-01 18:43:45 +0300
committerGitHub <noreply@github.com>2024-09-01 15:43:45 +0000
commit91b7f2e7f6593acefda4fa860250dd87d6f849bf (patch)
treee974da0f8a4341db64caea9d220b352f7a4aef28 /Python/compile.c
parent2304774465f3faddd8102d729ae6d3ca7e9cff49 (diff)
downloadcpython-91b7f2e7f6593acefda4fa860250dd87d6f849bf.tar.gz
cpython-91b7f2e7f6593acefda4fa860250dd87d6f849bf.zip
gh-123553: Fix compile warning in `compile.c` (#123578)
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 37db0d4f26f..4aa9e7b25ee 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);