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: v3.4.0a2~26^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=60bf2fc25b0e08d33340a35efc59f0e05e9c615a;p=thirdparty%2FPython%2Fcpython.git 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 82d0a6a29bee..1ae543f155a7 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;