diff Modules/arraymodule.c @ 56745:7b603680bf29

Silence gcc warning about possibly uninitialized variable 'converted_items'
author Mark Dickinson <dickinsm@gmail.com>
date Mon, 26 Oct 2009 07:58:04 +0000
parents fc8fb8eff20e
children 2b08de9a1fa0
line wrap: on
line diff
--- a/Modules/arraymodule.c	Sun Oct 25 23:08:47 2009 +0000
+++ b/Modules/arraymodule.c	Mon Oct 26 07:58:04 2009 +0000
@@ -1850,6 +1850,8 @@
 		/* Impossible, but needed to shut up GCC about the unhandled
 		 * enumeration value.
 		 */
+	default:
+		PyErr_BadArgument();
 		return NULL;
 	}