diff Python/marshal.c @ 82829:511d17372402

fix compiler warning
author Benjamin Peterson <benjamin@python.org>
date Wed, 20 Mar 2013 00:40:07 -0500
parents 30001c8ee3a9
children f4c21179690b
line wrap: on
line diff
--- a/Python/marshal.c	Wed Mar 20 00:39:41 2013 -0500
+++ b/Python/marshal.c	Wed Mar 20 00:40:07 2013 -0500
@@ -803,7 +803,7 @@
     /* NULL is a valid return value, it does not necessarily means that
        an exception is set. */
     PyObject *v, *v2;
-    Py_ssize_t idx;
+    Py_ssize_t idx = 0;
     long i, n;
     int type = r_byte(p);
     int flag;