Issue #19219: retval may be used uninitialized value
CID 486239: Uninitialized pointer read (UNINIT)
This commit is contained in:
parent
5703cd58ca
commit
3572842c19
|
@ -841,7 +841,7 @@ r_object(RFILE *p)
|
|||
long i, n;
|
||||
int type, code = r_byte(p);
|
||||
int flag, is_interned = 0;
|
||||
PyObject *retval;
|
||||
PyObject *retval = NULL;
|
||||
|
||||
if (code == EOF) {
|
||||
PyErr_SetString(PyExc_EOFError,
|
||||
|
|
Loading…
Reference in New Issue