fix parameters applying lint
This commit is contained in:
parent
124bb03b15
commit
1a69b17c8c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user