diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-08-27 17:13:52 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-08-27 17:13:52 (GMT) |
commit | d5ba8bbdae9a59c10c1275f71415732d68fe9661 (patch) | |
tree | a1786498e01822ef21d52efd84c131ca902f93c3 /Python/peephole.c | |
parent | 91020fade6ca0f22eef2d338be1380b17385e715 (diff) | |
download | cpython-d5ba8bbdae9a59c10c1275f71415732d68fe9661.zip cpython-d5ba8bbdae9a59c10c1275f71415732d68fe9661.tar.gz cpython-d5ba8bbdae9a59c10c1275f71415732d68fe9661.tar.bz2 |
Fix unused variable and signed/unsigned warnings (GH-15537) (GH-15551)
(cherry picked from commit 0138c4ceab1e10d42d0aa962d2ae079b46da7671)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Python/peephole.c')
-rw-r--r-- | Python/peephole.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/peephole.c b/Python/peephole.c index 3e56e78..d859648 100644 --- a/Python/peephole.c +++ b/Python/peephole.c @@ -255,8 +255,8 @@ PyCode_Optimize(PyObject *code, PyObject* consts, PyObject *names, than +255 (encoded as multiple bytes), just to keep the peephole optimizer simple. The optimizer leaves line number deltas unchanged. */ - for (j = 0; j < tabsiz; j += 2) { - if (lnotab[j] == 255) { + for (i = 0; i < tabsiz; i += 2) { + if (lnotab[i] == 255) { goto exitUnchanged; } } |