Skip to content
New issue

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

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

Already on GitHub? # to your account

Fix #1411, Make EVS_PktPtr parameter in EVS_AddLog() const #2186

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

thnkslprpt
Copy link
Contributor

@thnkslprpt thnkslprpt commented Oct 26, 2022

Checklist

Describe the contribution

Testing performed
GitHub CI actions (incl. Build + Run, Unit Tests etc.) all passing successfully.

Expected behavior changes
No impact on behavior.

Contributor Info
Avi Weiss @thnkslprpt

@@ -37,7 +37,7 @@
* See description in header file for argument/return detail
*
*-----------------------------------------------------------------*/
void EVS_AddLog(CFE_EVS_LongEventTlm_t *EVS_PktPtr)
void EVS_AddLog(const CFE_EVS_LongEventTlm_t *EVS_PktPtr)

Check notice

Code scanning / CodeQL-coding-standard

Long function without assertion

All functions of more than 10 lines should have at least one assertion.
@thnkslprpt thnkslprpt force-pushed the fix-1411-make-EVS_PktPtr-parameter-in-EVS_AddLog-const branch from 4ebce48 to 6662fb2 Compare March 14, 2023 11:38
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Const correct parameter inputs in EVS
1 participant