Kaydet (Commit) 3572842c authored tarafından Christian Heimes's avatar Christian Heimes

Issue #19219: retval may be used uninitialized value

CID 486239: Uninitialized pointer read (UNINIT)
üst 5703cd58
...@@ -841,7 +841,7 @@ r_object(RFILE *p) ...@@ -841,7 +841,7 @@ r_object(RFILE *p)
long i, n; long i, n;
int type, code = r_byte(p); int type, code = r_byte(p);
int flag, is_interned = 0; int flag, is_interned = 0;
PyObject *retval; PyObject *retval = NULL;
if (code == EOF) { if (code == EOF) {
PyErr_SetString(PyExc_EOFError, PyErr_SetString(PyExc_EOFError,
......
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