SystemExit_init(): avoid an useless test

Make silent a false positive of the Clang Static Analyzer.
This commit is contained in:
Victor Stinner 2011-05-26 14:25:54 +02:00
parent 13b21bd749
commit 92236e5651
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ SystemExit_init(PySystemExitObject *self, PyObject *args, PyObject *kwds)
Py_CLEAR(self->code);
if (size == 1)
self->code = PyTuple_GET_ITEM(args, 0);
else if (size > 1)
else /* size > 1 */
self->code = args;
Py_INCREF(self->code);
return 0;