From: Mark Dickinson Date: Mon, 26 Oct 2009 07:58:04 +0000 (+0000) Subject: Silence gcc warning about possibly uninitialized variable 'converted_items' X-Git-Tag: v3.2a1~2327 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cc16d16adde974a14be962cf9a6a5665f90ff664;p=thirdparty%2FPython%2Fcpython.git Silence gcc warning about possibly uninitialized variable 'converted_items' --- diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 0ac3cab126f3..479189067a92 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -1850,6 +1850,8 @@ array_reconstructor(PyObject *self, PyObject *args) /* Impossible, but needed to shut up GCC about the unhandled * enumeration value. */ + default: + PyErr_BadArgument(); return NULL; }