]> granicus.if.org Git - python/commitdiff
Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_U...
authorChristian Heimes <christian@cheimes.de>
Thu, 5 Sep 2013 14:04:35 +0000 (16:04 +0200)
committerChristian Heimes <christian@cheimes.de>
Thu, 5 Sep 2013 14:04:35 +0000 (16:04 +0200)
Modules/_ssl.c

index 82d0a6a29beed5fea8e50c20cdc2642ebf41e0fd..1ae543f155a701b53786a61fc3cae7cc0815ab45 100644 (file)
@@ -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;