Skip to content

Commit 5eb6e3b

Browse files
committed
Issue #18709: GCC 4.6 complains that 'v' may be used uninitialized in GEN_EMAIL/GEN_URI/GEN_DNS case
2 parents 930c3c9 + ed9884b commit 5eb6e3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ _get_peer_alt_names (X509 *certificate) {
691691

692692
int i, j;
693693
PyObject *peer_alt_names = Py_None;
694-
PyObject *v, *t;
694+
PyObject *v = NULL, *t;
695695
X509_EXTENSION *ext = NULL;
696696
GENERAL_NAMES *names = NULL;
697697
GENERAL_NAME *name;

0 commit comments

Comments
 (0)