diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2016-04-14 13:49:21 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2016-04-14 13:49:21 (GMT) |
commit | 2c164b738dc5563c5ae18edafeeaa3141944b5ae (patch) | |
tree | bb9450bd690b0e1ba848df12e4c86db3165146f7 /Modules | |
parent | 23c5cbbddec66063f1cc44cc06045a39a119b3d6 (diff) | |
parent | dfcb04119521a5594222f4b3ef11916457219e38 (diff) | |
download | cpython-2c164b738dc5563c5ae18edafeeaa3141944b5ae.zip cpython-2c164b738dc5563c5ae18edafeeaa3141944b5ae.tar.gz cpython-2c164b738dc5563c5ae18edafeeaa3141944b5ae.tar.bz2 |
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')
-rw-r--r-- | Modules/_ssl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 994198c..ead5b0e 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) |