mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Fix clippy warnings manual implementation of an assign operation
This commit is contained in:
parent
6354d3d14f
commit
a857bca9ea
@ -592,7 +592,7 @@ pub extern "C" fn ___syscall145(
|
|||||||
if curr < 0 {
|
if curr < 0 {
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
ret = ret + curr;
|
ret += curr;
|
||||||
}
|
}
|
||||||
// debug!(" => ret: {}", ret);
|
// debug!(" => ret: {}", ret);
|
||||||
ret
|
ret
|
||||||
@ -628,7 +628,7 @@ pub extern "C" fn ___syscall146(
|
|||||||
if curr < 0 {
|
if curr < 0 {
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
ret = ret + curr;
|
ret += curr;
|
||||||
}
|
}
|
||||||
// debug!(" => ret: {}", ret);
|
// debug!(" => ret: {}", ret);
|
||||||
ret
|
ret
|
||||||
|
Loading…
Reference in New Issue
Block a user