Skip to content

Commit 82ff5d3

Browse files
author
Guanqun Lu
committed
Fix the one warning on Windows
--> src\easy\windows.rs:91:13 | 91 | let mut store = match CertStore::open_current_user("ROOT") { | ----^^^^^ | | | help: remove this `mut` | = note: #[warn(unused_mut)] on by default
1 parent 20162df commit 82ff5d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/easy/windows.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ mod win {
8888
};
8989

9090
let openssl_store = (openssl.SSL_CTX_get_cert_store)(ssl_ctx as *const SSL_CTX);
91-
let mut store = match CertStore::open_current_user("ROOT") {
91+
let store = match CertStore::open_current_user("ROOT") {
9292
Ok(s) => s,
9393
Err(_) => return,
9494
};

0 commit comments

Comments
 (0)