Author: Carl Friedrich Bolz-Tereick <cfb...@gmx.de>
Branch: 
Changeset: r97417:d91ea5e3d27e
Date: 2019-09-10 16:22 +0200
http://bitbucket.org/pypy/pypy/changeset/d91ea5e3d27e/

Log:    remove unused index

diff --git a/rpython/rlib/rutf8.py b/rpython/rlib/rutf8.py
--- a/rpython/rlib/rutf8.py
+++ b/rpython/rlib/rutf8.py
@@ -596,7 +596,6 @@
     # binary search on elements of storage
     index_min = 0
     index_max = len(storage) - 1
-    i = 0
     while index_min < index_max:
         # this addition can't overflow because storage has a length that is
         # 1/64 of the length of a string
@@ -606,7 +605,6 @@
             index_max = index_middle - 1
         else:
             index_min = index_middle
-        i += 1
 
     baseindex = storage[index_min].baseindex
     if baseindex == bytepos:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to