Open thnkslprpt opened 9 months ago
Checklist
Describe the bug The continue is unnessesary if the prior if condition just checks for > 0 instead of == 0.
continue
if
> 0
== 0
Code snips https://github.com/nasa/LC/blob/752a024626c27bea0d41f60162446dce139789f4/fsw/src/lc_cmds.c#L90-L106
Reporter Info Avi Weiss @thnkslprpt
Checklist
Describe the bug The
continue
is unnessesary if the priorif
condition just checks for> 0
instead of== 0
.Code snips https://github.com/nasa/LC/blob/752a024626c27bea0d41f60162446dce139789f4/fsw/src/lc_cmds.c#L90-L106
Reporter Info Avi Weiss @thnkslprpt