diff options
author | Dong-hee Na <donghee.na@python.org> | 2023-08-12 19:36:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-12 19:36:46 (GMT) |
commit | bf707749e87f47b2fee2a208a654511ac318d4b9 (patch) | |
tree | 758506a88ce1b9177ad29b5a746aa8d60456adf8 /Python | |
parent | 2e1f688fe0f0a612e54c09f5a7027a834dd8b8d5 (diff) | |
download | cpython-bf707749e87f47b2fee2a208a654511ac318d4b9.zip cpython-bf707749e87f47b2fee2a208a654511ac318d4b9.tar.gz cpython-bf707749e87f47b2fee2a208a654511ac318d4b9.tar.bz2 |
gh-106797: Remove warning logs from Python/generated_cases.c.h and executor_cases.c.h (gh-107889)
gh-106797: Remove warning logs from Python/generated_cases.c.h
Diffstat (limited to 'Python')
-rw-r--r-- | Python/executor_cases.c.h | 2 | ||||
-rw-r--r-- | Python/generated_cases.c.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h index a7b5054..5e3c84b 100644 --- a/Python/executor_cases.c.h +++ b/Python/executor_cases.c.h @@ -1513,7 +1513,7 @@ Py_DECREF(self); if (attr == NULL) goto pop_3_error; STACK_SHRINK(2); - stack_pointer[-1 - (0 ? 1 : 0)] = attr; + stack_pointer[-1] = attr; break; } diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h index ccf43c7..2661a39 100644 --- a/Python/generated_cases.c.h +++ b/Python/generated_cases.c.h @@ -2251,7 +2251,7 @@ Py_DECREF(self); if (attr == NULL) goto pop_3_error; STACK_SHRINK(2); - stack_pointer[-1 - (0 ? 1 : 0)] = attr; + stack_pointer[-1] = attr; next_instr += 1; DISPATCH(); } @@ -3574,7 +3574,7 @@ assert(descr != NULL); Py_DECREF(owner); attr = Py_NewRef(descr); - stack_pointer[-1 - (0 ? 1 : 0)] = attr; + stack_pointer[-1] = attr; next_instr += 9; DISPATCH(); } @@ -3594,7 +3594,7 @@ assert(descr != NULL); Py_DECREF(owner); attr = Py_NewRef(descr); - stack_pointer[-1 - (0 ? 1 : 0)] = attr; + stack_pointer[-1] = attr; next_instr += 9; DISPATCH(); } |