From 91b7f2e7f6593acefda4fa860250dd87d6f849bf Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sun, 1 Sep 2024 18:43:45 +0300 Subject: gh-123553: Fix compile warning in `compile.c` (#123578) --- Python/compile.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Python/compile.c b/Python/compile.c index 37db0d4..4aa9e7b 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); -- cgit v0.12