Closed thnkslprpt closed 1 year ago
Describe the bug Mutually exclusive logic in this if, else if, and also no final else clause which I believe is frowned upon in the coding guidelines.
if
else if
else
Code snips https://github.com/nasa/to_lab/blob/7ca124c7e9d4a4086714525e3db2869a7da059b1/fsw/src/to_lab_app.c#L203-L215
Expected behavior Refactor into a simpler if, else block.
Reporter Info Avi Weiss @thnkslprpt
Describe the bug Mutually exclusive logic in this
if
,else if
, and also no finalelse
clause which I believe is frowned upon in the coding guidelines.Code snips https://github.com/nasa/to_lab/blob/7ca124c7e9d4a4086714525e3db2869a7da059b1/fsw/src/to_lab_app.c#L203-L215
Expected behavior Refactor into a simpler
if
,else
block.Reporter Info Avi Weiss @thnkslprpt