]> granicus.if.org Git - python/commitdiff
Merged revisions 74689 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Sun, 6 Sep 2009 20:52:43 +0000 (20:52 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sun, 6 Sep 2009 20:52:43 +0000 (20:52 +0000)
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
........

Objects/longobject.c

index eb9579c5a52a25f15fb58ac4655d333e04fda68a..389b4315d32509627a5b44e61188dccc7301a0e7 100644 (file)
@@ -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;