summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-09-05 14:04:35 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-09-05 14:04:35 (GMT)
commit60bf2fc25b0e08d33340a35efc59f0e05e9c615a (patch)
tree713a3d7a378425675adfc3accd382f6a26a59193
parente1040e276b11f21b7007c139269c38d5eba04f5e (diff)
downloadcpython-60bf2fc25b0e08d33340a35efc59f0e05e9c615a.zip
cpython-60bf2fc25b0e08d33340a35efc59f0e05e9c615a.tar.gz
cpython-60bf2fc25b0e08d33340a35efc59f0e05e9c615a.tar.bz2
Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
-rw-r--r--Modules/_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 82d0a6a..1ae543f 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -721,7 +721,7 @@ _get_peer_alt_names (X509 *certificate) {
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;