From: sobolevn Date: Sun, 1 Sep 2024 15:43:45 +0000 (+0300) Subject: gh-123553: Fix compile warning in `compile.c` (#123578) X-Git-Tag: v3.14.0a1~623 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91b7f2e7f6593acefda4fa860250dd87d6f849bf;p=thirdparty%2FPython%2Fcpython.git gh-123553: Fix compile warning in `compile.c` (#123578) --- diff --git a/Python/compile.c b/Python/compile.c index 37db0d4f26ff..4aa9e7b25eec 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);