You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug SAMPLE_APP_Init() and SAMPLE_APP_Process() use multiple returns to manage control flow.
Expected behavior
The Sample App should exhibit/encourage best practice (according to the cFS), of which multiple returns does not comply.
Given that it is unnecessary in this case, would be worth refactoring to the recommended pattern with a single exit point from the function.
Describe the bug
SAMPLE_APP_Init()
andSAMPLE_APP_Process()
use multiple returns to manage control flow.Expected behavior
The Sample App should exhibit/encourage best practice (according to the cFS), of which multiple returns does not comply.
Given that it is unnecessary in this case, would be worth refactoring to the recommended pattern with a single exit point from the function.
Reporter Info
Avi Weiss @thnkslprpt
The text was updated successfully, but these errors were encountered: