From ed9884b2d0d5f1d4b1a8b252c4cd702095e0fc23 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 5 Sep 2013 16:04:35 +0200 Subject: [PATCH] Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case --- Modules/_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_ssl.c b/Modules/_ssl.c index a045be421c4..a0aebd03985 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -670,7 +670,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;