nasa / LC

The Core Flight System (cFS) Limit Checker (LC) application.
Apache License 2.0
30 stars 21 forks source link

Combine consecutive, mutually-exclusive status checks #79

Closed thnkslprpt closed 1 year ago

thnkslprpt commented 1 year ago

Checklist

Describe the bug Mutually exclusive logic in these consecutive status checks in LC_CreateResultTables().

Code snips https://github.com/nasa/LC/blob/2f177ae83a24445d6ab6997682a2ffa71dacbd31/fsw/src/lc_app.c#L513-L519

Expected behavior Combine into an if/else.

Reporter Info Avi Weiss @thnkslprpt