diff options
| author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-08-27 09:55:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-27 09:55:13 -0700 |
| commit | 0138c4ceab1e10d42d0aa962d2ae079b46da7671 (patch) | |
| tree | 8077fd01b70f6ba38dd047900b5cefd0c6e4cfa0 /Python/peephole.c | |
| parent | 8bf5fef8737fdd12724b9340d76a4ed391c4ad8a (diff) | |
| download | cpython-git-0138c4ceab1e10d42d0aa962d2ae079b46da7671.tar.gz | |
Fix unused variable and signed/unsigned warnings (GH-15537)
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 3e56e788b0..d859648411 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; } } |
