summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-09-06 20:53:58 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-09-06 20:53:58 (GMT)
commit7a49a8eb43de8626846ef160d7102084f5a5ad14 (patch)
tree7a1828663616b785fbf3b94adde95c91073b413d /Objects/longobject.c
parent6d77e07196bfb5dfa4de6f5d80b2619c0643a75e (diff)
downloadcpython-7a49a8eb43de8626846ef160d7102084f5a5ad14.zip
cpython-7a49a8eb43de8626846ef160d7102084f5a5ad14.tar.gz
cpython-7a49a8eb43de8626846ef160d7102084f5a5ad14.tar.bz2
Merged revisions 74689 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74689 | mark.dickinson | 2009-09-06 21:51:37 +0100 (Sun, 06 Sep 2009) | 1 line Remove redundant assignment ........
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index b83cdc8..34850f1 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -1862,7 +1862,6 @@ long_from_binary_base(char **str, int base)
for (bits_per_char = -1; n; ++bits_per_char)
n >>= 1;
/* n <- total # of bits needed, while setting p to end-of-string */
- n = 0;
while (_PyLong_DigitValue[Py_CHARMASK(*p)] < base)
++p;
*str = p;