]> 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 a045be421c48512265dd3cef7e6d77e51fbdb082..a0aebd0398520740ce4ad44b18b56ae1e240a7d9 100644 (file)
@@ -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;