Skip to content

Commit

Permalink
Disable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Jun 4, 2024
1 parent 672e730 commit b9768b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ledger_secure_sdk_sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b9768b8

Please sign in to comment.