From 60bf2fc25b0e08d33340a35efc59f0e05e9c615a Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 5 Sep 2013 16:04:35 +0200 Subject: 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 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; -- cgit v0.12