[Python-checkins] cpython: fix compiler warning
benjamin.peterson
python-checkins at python.org
Wed Mar 20 06:40:19 CET 2013
http://hg.python.org/cpython/rev/511d17372402
changeset: 82829:511d17372402
user: Benjamin Peterson <benjamin at python.org>
date: Wed Mar 20 00:40:07 2013 -0500
summary:
fix compiler warning
files:
Python/marshal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/marshal.c b/Python/marshal.c
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -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;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list