[Python-checkins] cpython: silence compiler warning that 's' may be used uninitialized in the load
christian.heimes
python-checkins at python.org
Mon Jan 27 01:04:12 CET 2014
http://hg.python.org/cpython/rev/efa65b43cc96
changeset: 88739:efa65b43cc96
user: Christian Heimes <christian at python.org>
date: Mon Jan 27 01:03:53 2014 +0100
summary:
silence compiler warning that 's' may be used uninitialized in the load function.
files:
Modules/_pickle.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -6149,7 +6149,7 @@
load(UnpicklerObject *self)
{
PyObject *value = NULL;
- char *s;
+ char *s = NULL;
self->num_marks = 0;
self->proto = 0;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list