diff options
author | Brett Cannon <bcannon@gmail.com> | 2010-05-05 20:16:09 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2010-05-05 20:16:09 (GMT) |
commit | 6f38175cbc3329ffa63cf46c584d2d2b334484ae (patch) | |
tree | 19610ac7f3a2d7042a082c55d5fd67a7aa887b32 | |
parent | 7a4cd7e1e2cff1d3a3ef079e47f0b0f833dae1de (diff) | |
download | cpython-6f38175cbc3329ffa63cf46c584d2d2b334484ae.zip cpython-6f38175cbc3329ffa63cf46c584d2d2b334484ae.tar.gz cpython-6f38175cbc3329ffa63cf46c584d2d2b334484ae.tar.bz2 |
Remove an unneeded variable increment.
Found using Clang's static analyzer.
-rw-r--r-- | Objects/floatobject.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c index 3f76e91..ab7cfeb 100644 --- a/Objects/floatobject.c +++ b/Objects/floatobject.c @@ -2478,7 +2478,6 @@ _PyFloat_Pack8(double x, unsigned char *p, int le) /* Eighth byte */ *p = flo & 0xFF; - p += incr; /* Done */ return 0; |