diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-10-26 07:58:04 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-10-26 07:58:04 (GMT) |
commit | cc16d16adde974a14be962cf9a6a5665f90ff664 (patch) | |
tree | 800205749f80189daf036794c5cf2d67d689bbb1 /Modules/arraymodule.c | |
parent | 04fe7c01a8a0dd8a7234dd0f527e22386c2fed04 (diff) | |
download | cpython-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.c | 2 |
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; } |