From 27152b4335bb4ad5af2f139fb2cf3e4d70b00e0c Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sun, 1 Sep 2024 18:17:18 +0300 Subject: [PATCH] gh-123553: Fix compile warning in `compile.c` --- Python/compile.c | 2 ++ 1 file changed, 2 insertions(+) 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);