summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2018-05-14 20:48:14 (GMT)
committerGitHub <noreply@github.com>2018-05-14 20:48:14 (GMT)
commit00717a46a120dd8c8c74970fd75d201a5f42ab18 (patch)
treea21195892977e56c3ea8c73c20fd310fb8bb46a0 /Modules/_ssl.c
parent5e6312c39e1fc32ecef18d340bcd5f7e314170e1 (diff)
downloadcpython-00717a46a120dd8c8c74970fd75d201a5f42ab18.zip
cpython-00717a46a120dd8c8c74970fd75d201a5f42ab18.tar.gz
cpython-00717a46a120dd8c8c74970fd75d201a5f42ab18.tar.bz2
Fixed an unused variable warning introduced in GH-6800 (GH-6816)
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index 650f030..7670833 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -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)