]> granicus.if.org Git - python/commitdiff
silence compiler warning that 's' may be used uninitialized in the load function.
authorChristian Heimes <christian@python.org>
Mon, 27 Jan 2014 00:03:53 +0000 (01:03 +0100)
committerChristian Heimes <christian@python.org>
Mon, 27 Jan 2014 00:03:53 +0000 (01:03 +0100)
Modules/_pickle.c

index dabd81e3ab5687ff0136457c81206344381e72b2..54a5ec544d38e2c45644df85c6f5ee43ebc357ec 100644 (file)
@@ -6149,7 +6149,7 @@ static PyObject *
 load(UnpicklerObject *self)
 {
     PyObject *value = NULL;
-    char *s;
+    char *s = NULL;
 
     self->num_marks = 0;
     self->proto = 0;