summaryrefslogtreecommitdiffstats
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-26 07:58:04 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-10-26 07:58:04 (GMT)
commitcc16d16adde974a14be962cf9a6a5665f90ff664 (patch)
tree800205749f80189daf036794c5cf2d67d689bbb1 /Modules/arraymodule.c
parent04fe7c01a8a0dd8a7234dd0f527e22386c2fed04 (diff)
downloadcpython-cc16d16adde974a14be962cf9a6a5665f90ff664.zip
cpython-cc16d16adde974a14be962cf9a6a5665f90ff664.tar.gz
cpython-cc16d16adde974a14be962cf9a6a5665f90ff664.tar.bz2
Silence gcc warning about possibly uninitialized variable 'converted_items'
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c2
1 files changed, 2 insertions, 0 deletions
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;
}