From cc16d16adde974a14be962cf9a6a5665f90ff664 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Mon, 26 Oct 2009 07:58:04 +0000 Subject: Silence gcc warning about possibly uninitialized variable 'converted_items' --- Modules/arraymodule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 0ac3cab..4791890 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; } -- cgit v0.12