summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-09-06 20:52:43 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-09-06 20:52:43 (GMT)
commit74e010aafb7e3915fa3959f9a5ab0b3e7948a7d1 (patch)
tree99a447c710dbc81e26dea1c7876ab65c14cae5a1
parent2142aa8f042a068d6fe00e014cafc7b0c746b919 (diff)
downloadcpython-74e010aafb7e3915fa3959f9a5ab0b3e7948a7d1.zip
cpython-74e010aafb7e3915fa3959f9a5ab0b3e7948a7d1.tar.gz
cpython-74e010aafb7e3915fa3959f9a5ab0b3e7948a7d1.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 ........
-rw-r--r--Objects/longobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index eb9579c..389b431 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -1409,7 +1409,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;