fix parameters applying lint

This commit is contained in:
Jaeyong Sung 2022-02-13 04:43:27 +09:00
parent 124bb03b15
commit 1a69b17c8c
No known key found for this signature in database
GPG Key ID: 2B86898CCB2A5486

View File

@ -12,12 +12,12 @@ static N: AtomicUsize = AtomicUsize::new(0);
#[warn(clippy::main_recursion)]
#[start]
fn main(argc: isize, argv: *const *const u8) -> isize {
fn main(_argc: isize, _argv: *const *const u8) -> isize {
let x = N.load(Ordering::Relaxed);
N.store(x + 1, Ordering::Relaxed);
if x < 3 {
main(argc, argv);
main(_argc, _argv);
}
0