Kaydet (Commit) 92236e56 authored tarafından Victor Stinner's avatar Victor Stinner

SystemExit_init(): avoid an useless test

Make silent a false positive of the Clang Static Analyzer.
üst 13b21bd7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment