Skip to content

Commit

Permalink
Merge pull request #39 from jphickey/fix-38-uninit-var
Browse files Browse the repository at this point in the history
Fix #38, correct uninitialized variable in UT
  • Loading branch information
dzbaker authored Jan 19, 2023
2 parents 518bea7 + f739a2e commit b8821d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unit-test/hk_app_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1231,6 +1231,8 @@ void Test_HK_HousekeepingCmd(void)
HK_AppData.CombinedPacketsSent = 4;
HK_AppData.MemPoolHandle = HK_UT_MEMPOOL_1;

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

/* Act */
HK_HousekeepingCmd(&DummyMsg);

Expand Down

0 comments on commit b8821d6

Please sign in to comment.