Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magic number status variables (0, -1) can be updated to their defined macros #384

Closed
2 tasks done
thnkslprpt opened this issue May 14, 2023 · 0 comments · Fixed by #385
Closed
2 tasks done

Magic number status variables (0, -1) can be updated to their defined macros #384

thnkslprpt opened this issue May 14, 2023 · 0 comments · Fixed by #385

Comments

@thnkslprpt
Copy link
Contributor

Checklist

  • I reviewed the Contributing Guide.
  • I performed a cursory search to see if the bug report is relevant, not redundant, nor in conflict with other tickets.

Describe the bug
CF could use a quick clean-up of the return/status values that are still using 0 to represent success (or more specifically CFE_SUCCESS) and -1 to represent error (or more specifically CF_ERROR).

Expected behavior
Use the more expressive defined macros if they are available.

Reporter Info
Avi Weiss @thnkslprpt

dzbaker added a commit that referenced this issue May 25, 2023
…es-to-defined-macros

Fix #384, Update `status` variables (0, -1) to their defined macros
@dmknutsen dmknutsen added this to the Equuleus milestone May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants