mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
Fix warning in release mode
This commit is contained in:
parent
ba1c2e3eaf
commit
803527be23
|
@ -12,7 +12,7 @@ unsafe fn debug_unreachable_unchecked(message: &'static str) -> ! {
|
|||
}
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
const unsafe fn debug_unreachable_unchecked(message: &'static str) -> ! {
|
||||
const unsafe fn debug_unreachable_unchecked(_message: &'static str) -> ! {
|
||||
use core::hint::unreachable_unchecked;
|
||||
|
||||
unreachable_unchecked();
|
||||
|
|
Loading…
Reference in a new issue