diff options
author | sobolevn <mail@sobolevn.me> | 2024-10-14 23:46:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-14 23:46:17 +0300 |
commit | 0c8c665581ede95fe119f902b070e395614b78ed (patch) | |
tree | 953659ba75c69da9b5bc1dcfa4ff269f69cd3030 /Python/generated_cases.c.h | |
parent | 843d28f59d2616d052d9d45f31823976da07f0f3 (diff) | |
download | cpython-0c8c665581ede95fe119f902b070e395614b78ed.tar.gz cpython-0c8c665581ede95fe119f902b070e395614b78ed.zip |
gh-125470: Fix warning in `Python/generated_cases.c.h` (#125471)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Diffstat (limited to 'Python/generated_cases.c.h')
-rw-r--r-- | Python/generated_cases.c.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h index 7bd1b7dd5ab..a9290986c24 100644 --- a/Python/generated_cases.c.h +++ b/Python/generated_cases.c.h @@ -183,7 +183,9 @@ /* Skip 1 cache entry */ // _BINARY_OP_INPLACE_ADD_UNICODE { + #ifndef NDEBUG PyObject *left_o = PyStackRef_AsPyObjectBorrow(left); + #endif PyObject *right_o = PyStackRef_AsPyObjectBorrow(right); int next_oparg; #if TIER_ONE |