mirror of
https://github.com/python/cpython.git
synced 2025-10-07 15:42:02 +00:00
Silence gcc warning about possibly uninitialized variable 'converted_items'
This commit is contained in:
parent
04fe7c01a8
commit
cc16d16add
1 changed files with 2 additions and 0 deletions
|
@ -1850,6 +1850,8 @@ array_reconstructor(PyObject *self, PyObject *args)
|
||||||
/* Impossible, but needed to shut up GCC about the unhandled
|
/* Impossible, but needed to shut up GCC about the unhandled
|
||||||
* enumeration value.
|
* enumeration value.
|
||||||
*/
|
*/
|
||||||
|
default:
|
||||||
|
PyErr_BadArgument();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue