8000 gh-123553: Fix compiler warning in `Python/compile.c` (#123554) · python/cpython@084e0f3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 084e0f3

Browse files
authored
gh-123553: Fix compiler warning in Python/compile.c (#123554)
1 parent bac0e11 commit 084e0f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Python/compile.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7476,12 +7476,14 @@ compiler_unit_metadata(struct compiler *c)
74767476
return &c->u->u_metadata;
74777477
}
74787478

7479+
#ifndef NDEBUG
74797480
static int
74807481
compiler_is_top_level_await(struct compiler *c)
74817482
{
74827483
return c->c_flags.cf_flags & PyCF_ALLOW_TOP_LEVEL_AWAIT &&
74837484
c->u->u_ste->ste_type == ModuleBlock;
74847485
}
7486+
#endif
74857487

74867488
// Merge *obj* with constant cache, without recursion.
74877489
int

0 commit comments

Comments
 (0)
0