summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2014-01-27 00:03:53 (GMT)
committerChristian Heimes <christian@python.org>2014-01-27 00:03:53 (GMT)
commit27ea78b352fc33aa9d79a298a4b313682a42ed21 (patch)
tree4216f7b4c95b566e113f53a46b7373100f1f53b9
parenta09daef09e787809dad237b9908e784cd0b014c1 (diff)
downloadcpython-27ea78b352fc33aa9d79a298a4b313682a42ed21.zip
cpython-27ea78b352fc33aa9d79a298a4b313682a42ed21.tar.gz
cpython-27ea78b352fc33aa9d79a298a4b313682a42ed21.tar.bz2
silence compiler warning that 's' may be used uninitialized in the load function.
-rw-r--r--Modules/_pickle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index dabd81e..54a5ec5 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -6149,7 +6149,7 @@ static PyObject *
load(UnpicklerObject *self)
{
PyObject *value = NULL;
- char *s;
+ char *s = NULL;
self->num_marks = 0;
self->proto = 0;