Skip to content

Commit

Permalink
Merge pull request nasa#64 from thnkslprpt/fix-63-remove-initializati…
Browse files Browse the repository at this point in the history
…ons-causing-cppcheck-failure

Fix nasa#63, Remove initializations causing Cppcheck errors
  • Loading branch information
dzbaker authored Jan 12, 2023
2 parents e276a65 + 8f39e1b commit 487169b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fsw/src/sc_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void SC_ProcessAtpCmd(void)
int32 EntryIndex; /* ATS entry location in table */
uint8 AtsIndex; /* ATS selection index */
uint32 CmdIndex; /* ATS command index */
char TempAtsChar = ' ';
char TempAtsChar;
int32 Result;
bool AbortATS = false;
SC_AtsEntry_t * EntryPtr;
Expand Down
6 changes: 3 additions & 3 deletions fsw/src/sc_loads.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,9 @@ bool SC_ParseRts(uint32 Buffer32[])
bool Done;
bool Error;
SC_RtsEntry_t *EntryPtr;
CFE_MSG_Size_t CmdSize = 0;
uint16 IndexDelta = 0;
CFE_SB_MsgId_t MessageID = CFE_SB_INVALID_MSG_ID;
CFE_MSG_Size_t CmdSize = 0;
uint16 IndexDelta;
CFE_SB_MsgId_t MessageID = CFE_SB_INVALID_MSG_ID;

i = 0;
Done = Error = false;
Expand Down

0 comments on commit 487169b

Please sign in to comment.