mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 01:21:34 +11:00
add underscore to show unused variable
This commit is contained in:
parent
9ea3ece74b
commit
300a87df72
|
@ -20,7 +20,7 @@ fn main(_argc: isize, _argv: *const *const u8) -> isize {
|
|||
}
|
||||
if input.is_just_pressed(gba::input::Button::B) {
|
||||
#[allow(arithmetic_overflow)]
|
||||
let p = core::i32::MAX + 1;
|
||||
let _p = core::i32::MAX + 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue