summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-09-06 20:54:47 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-09-06 20:54:47 (GMT)
commit4cb041ad3295fa9ab72e8af40fe2ff5c6b945e3a (patch)
tree4ef347530a2747bddad14bbd89d3db45c0c5ee6d /Objects
parentdc9bc3be978256b0cf1b38dc7714816461bde259 (diff)
downloadcpython-4cb041ad3295fa9ab72e8af40fe2ff5c6b945e3a.zip
cpython-4cb041ad3295fa9ab72e8af40fe2ff5c6b945e3a.tar.gz
cpython-4cb041ad3295fa9ab72e8af40fe2ff5c6b945e3a.tar.bz2
Merged revisions 74691 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r74691 | mark.dickinson | 2009-09-06 21:53:58 +0100 (Sun, 06 Sep 2009) | 9 lines 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')
-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;