]> granicus.if.org Git - python/commitdiff
Remove redundant assignment
authorMark Dickinson <dickinsm@gmail.com>
Sun, 6 Sep 2009 20:51:37 +0000 (20:51 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sun, 6 Sep 2009 20:51:37 +0000 (20:51 +0000)
Objects/longobject.c

index 1fe7b06b49a061a2cf9382c3139039dd3fa6fbbd..f5a63de78188aca91f1d2246ce54c9bd2b9aee58 100644 (file)
@@ -1579,7 +1579,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;