summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-09-05 14:04:50 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-09-05 14:04:50 (GMT)
commit2d7aba3db1f02d5876b2f19d4a34303b30b124b1 (patch)
tree5c98d20011a352f764af133f14e7c67f482629f7 /Modules/_ssl.c
parent555e57de1951aa74e94fcc07778b87fff9b61843 (diff)
parent60bf2fc25b0e08d33340a35efc59f0e05e9c615a (diff)
downloadcpython-2d7aba3db1f02d5876b2f19d4a34303b30b124b1.zip
cpython-2d7aba3db1f02d5876b2f19d4a34303b30b124b1.tar.gz
cpython-2d7aba3db1f02d5876b2f19d4a34303b30b124b1.tar.bz2
Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 48804ef..e116d3d 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -755,7 +755,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;