From: Christian Heimes Date: Thu, 5 Sep 2013 14:04:35 +0000 (+0200) Subject: Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_U... X-Git-Tag: v2.6.9rc1~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ed9884b2d0d5f1d4b1a8b252c4cd702095e0fc23;p=python Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case --- diff --git a/Modules/_ssl.c b/Modules/_ssl.c index a045be421c..a0aebd0398 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;