summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-05-05 20:27:49 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-05-05 20:27:49 (GMT)
commit2ee5183852e7ebd23eae66a38585b4fd0a6f956e (patch)
tree6eb00dfe04d6a8b6592d4cd766b35ea9eafca97b
parent8b9c04941beb84fba0f52aec36e480339d826fbe (diff)
downloadcpython-2ee5183852e7ebd23eae66a38585b4fd0a6f956e.zip
cpython-2ee5183852e7ebd23eae66a38585b4fd0a6f956e.tar.gz
cpython-2ee5183852e7ebd23eae66a38585b4fd0a6f956e.tar.bz2
Remove an unneeded variable increment.
Found using Clang's static analyzer.
-rw-r--r--Python/ceval.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index b06de50..2b64cae 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2697,7 +2697,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
Py_DECREF(*pfunc);
*pfunc = self;
na++;
- n++;
} else
Py_INCREF(func);
sp = stack_pointer;