nasa / CF

The Core Flight System (cFS) CFDP application.
Apache License 2.0
76 stars 45 forks source link

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

Closed thnkslprpt closed 1 year ago

thnkslprpt commented 1 year ago

Checklist

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