diff options
author | Max Heller <hellerm@deshaw.com> | 2020-11-16 09:56:29 -0500 |
---|---|---|
committer | mxheller <max.a.heller@gmail.com> | 2020-11-17 21:30:03 -0500 |
commit | 8b460ab646219d2c7f904f6f8c08678a848e7d44 (patch) | |
tree | 1948ab3823bb46474bd283912a1f235ca252f3bc /openssl/src/x509/store.rs | |
parent | f825e9ffccff1ff2cf1bc1a514e5c6121a28d758 (diff) | |
download | rust-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.rs | 4 |
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. |