]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixed an unused variable warning introduced in GH-6800 (GH-6816)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 May 2018 23:42:30 +0000 (16:42 -0700)
committerGitHub <noreply@github.com>
Mon, 14 May 2018 23:42:30 +0000 (16:42 -0700)
(cherry picked from commit 00717a46a120dd8c8c74970fd75d201a5f42ab18)

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Modules/_ssl.c

index 650f030345f7a6b0ad65cb8b0ad4395ce87deffb..7670833bf5f5482702b54bb80f7158e2aa29f1c0 100644 (file)
@@ -882,7 +882,6 @@ newPySSLSocket(PySSLContext *sslctx, PySocketSockObject *sock,
 {
     PySSLSocket *self;
     SSL_CTX *ctx = sslctx->ctx;
-    long mode;
 
     self = PyObject_New(PySSLSocket, &PySSLSocket_Type);
     if (self == NULL)