summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2013-03-20 05:40:07 (GMT)
committerBenjamin Peterson <benjamin@python.org>2013-03-20 05:40:07 (GMT)
commiteddb0a7884e7b9edaeed8c5f6b250c40ece403ad (patch)
tree5009f0cdf4e3661b92d2ba1aa2e03f9a210d330a /Python/marshal.c
parent605a774a98fa774b275e2813f4fee8c1d358d324 (diff)
downloadcpython-eddb0a7884e7b9edaeed8c5f6b250c40ece403ad.zip
cpython-eddb0a7884e7b9edaeed8c5f6b250c40ece403ad.tar.gz
cpython-eddb0a7884e7b9edaeed8c5f6b250c40ece403ad.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;