Fix clippy warnings manual implementation of an assign operation

This commit is contained in:
Brandon Fish 2018-12-09 01:05:22 -06:00
parent 6354d3d14f
commit a857bca9ea

View File

@ -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