[Python-checkins] cpython (3.3): Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in
christian.heimes
python-checkins at python.org
Thu Sep 5 16:07:00 CEST 2013
http://hg.python.org/cpython/rev/90040e560527
changeset: 85535:90040e560527
branch: 3.3
parent: 85531:f01e06d26b41
user: Christian Heimes <christian at cheimes.de>
date: Thu Sep 05 16:04:35 2013 +0200
summary:
Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
files:
Modules/_ssl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -721,7 +721,7 @@
int i, j;
PyObject *peer_alt_names = Py_None;
- PyObject *v, *t;
+ PyObject *v = NULL, *t;
X509_EXTENSION *ext = NULL;
GENERAL_NAMES *names = NULL;
GENERAL_NAME *name;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list