summaryrefslogtreecommitdiff
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-04-14 16:48:48 +0300
committerBerker Peksag <berker.peksag@gmail.com>2016-04-14 16:48:48 +0300
commitcc6acea52c06788f23cf827b22d71a0260edaf1b (patch)
treed8683c66f80fb4ac5204415c558b9e998c467952 /Modules/_ssl.c
parent5da7eae47e423260b49431219e759ea99e9d7f24 (diff)
downloadcpython-cc6acea52c06788f23cf827b22d71a0260edaf1b.tar.gz
Fix unused variable 'libver' warning in Modules/_ssl.c
It can be seen on various buildbots like 3.x.cea-indiana-amd64 and 3.x.murray-snowleopard: /export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver' /Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ?libver?
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index d2b65001b9..1117b5561c 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -2224,7 +2224,9 @@ _ssl__SSLContext_impl(PyTypeObject *type, int proto_version)
PySSLContext *self;
long options;
SSL_CTX *ctx = NULL;
+#if defined(SSL_MODE_RELEASE_BUFFERS)
unsigned long libver;
+#endif
PySSL_BEGIN_ALLOW_THREADS
if (proto_version == PY_SSL_VERSION_TLS1)