From 668698acfaf2b2bd79a47d5d3b420cb0ac3f590f Mon Sep 17 00:00:00 2001 From: GroM Date: Tue, 4 Jun 2024 11:55:28 +0200 Subject: [PATCH] Disable warning --- Cargo.lock | 8 ++++---- ledger_secure_sdk_sys/src/lib.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 486e4ce1..4dc1a98b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -153,9 +153,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clang-sys" -version = "1.8.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a483f3cbf7cec2e153d424d0e92329d816becc6421389bd494375c6065921b9b" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", @@ -482,9 +482,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.84" +version = "1.0.85" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec96c6a92621310b51366f1e28d05ef11489516e93be030060e5fc12024a49d6" +checksum = "22244ce15aa966053a896d1accb3a6e68469b97c7f33f284b99f0d576879fc23" dependencies = [ "unicode-ident", ] diff --git a/ledger_secure_sdk_sys/src/lib.rs b/ledger_secure_sdk_sys/src/lib.rs index 4da7393e..64c97d95 100644 --- a/ledger_secure_sdk_sys/src/lib.rs +++ b/ledger_secure_sdk_sys/src/lib.rs @@ -53,7 +53,7 @@ critical_section::set_impl!(CriticalSection); #[cfg(feature = "heap")] unsafe impl critical_section::Impl for CriticalSection { unsafe fn acquire() -> RawRestoreState {} - unsafe fn release(restore_state: RawRestoreState) {} + unsafe fn release(_restore_state: RawRestoreState) {} } /// Initializes the heap memory for the global allocator.