summaryrefslogtreecommitdiff
path: root/openssl/src/x509/store.rs
diff options
context:
space:
mode:
authorMax Heller <hellerm@deshaw.com>2020-11-16 09:56:29 -0500
committermxheller <max.a.heller@gmail.com>2020-11-17 21:30:03 -0500
commit8b460ab646219d2c7f904f6f8c08678a848e7d44 (patch)
tree1948ab3823bb46474bd283912a1f235ca252f3bc /openssl/src/x509/store.rs
parentf825e9ffccff1ff2cf1bc1a514e5c6121a28d758 (diff)
downloadrust-openssl-8b460ab646219d2c7f904f6f8c08678a848e7d44.zip
stop rust from complaining about unused variable
Diffstat (limited to 'openssl/src/x509/store.rs')
-rw-r--r--openssl/src/x509/store.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/x509/store.rs b/openssl/src/x509/store.rs
index c3cb57ae..4a6a3657 100644
--- a/openssl/src/x509/store.rs
+++ b/openssl/src/x509/store.rs
@@ -159,9 +159,9 @@ impl X509LookupRef {
foreign_type_and_impl_send_sync! {
type CType = ffi::X509_LOOKUP_METHOD;
- fn drop = |method| {
+ fn drop = |_method| {
#[cfg(ossl110)]
- ffi::X509_LOOKUP_meth_free(method);
+ ffi::X509_LOOKUP_meth_free(_method);
};
/// Method used to look up certificates and CRLs.