mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-26 00:56:38 +11:00
Fix warning in release mode
This commit is contained in:
parent
ba1c2e3eaf
commit
803527be23
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ unsafe fn debug_unreachable_unchecked(message: &'static str) -> ! {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(debug_assertions))]
|
#[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;
|
use core::hint::unreachable_unchecked;
|
||||||
|
|
||||||
unreachable_unchecked();
|
unreachable_unchecked();
|
||||||
|
|
Loading…
Add table
Reference in a new issue