summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-03-20 04:20:59 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-03-20 04:20:59 (GMT)
commitc6dc12484bbe862364f914e7f1f425eece7cc66b (patch)
treef14734b33592ed669e7b7cd31e56ebcf03e81e5d /Python/marshal.c
parent95dc8b5761afdec787fe556a6d86ffc402dac3f3 (diff)
downloadcpython-c6dc12484bbe862364f914e7f1f425eece7cc66b.zip
cpython-c6dc12484bbe862364f914e7f1f425eece7cc66b.tar.gz
cpython-c6dc12484bbe862364f914e7f1f425eece7cc66b.tar.bz2
fix compiler warning
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index c3e75b1..d237d17 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -803,7 +803,7 @@ r_object(RFILE *p)
/* 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;