Skip to content

Commit

Permalink
Fix nasa#23, Resolve fsw uninit var static analysis warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
skliper committed May 16, 2022
1 parent 84faf44 commit 31c0e4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fsw/src/sc_rtsrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ void SC_AutoStartRts(uint16 RtsNumber)
{
SC_RtsCmd_t CmdPkt; /* the command packet to start an RTS */

memset(&CmdPkt, 0, sizeof(CmdPkt));

/* validate RTS ID */
if ((RtsNumber > 0) && (RtsNumber <= SC_NUMBER_OF_RTS))
{
Expand Down

0 comments on commit 31c0e4b

Please sign in to comment.