Skip to content

Commit

Permalink
Fix nasa#392, cpp check warning
Browse files Browse the repository at this point in the history
  • Loading branch information
avan989 authored and skliper committed Nov 15, 2019
1 parent 7142938 commit 002e834
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fsw/cfe-core/unit-test/ut_time_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ void CFE_TIME_Print(char *PrintBuffer, CFE_TIME_SysTime_t TimeToPrint)
CFE_TIME_SysTime_t CFE_TIME_GetTime(void)
{
static CFE_TIME_SysTime_t SimTime = { 0 };
CFE_TIME_SysTime_t Result;
CFE_TIME_SysTime_t Result = { 0 };
int32 status;

status = UT_DEFAULT_IMPL(CFE_TIME_GetTime);
Expand Down Expand Up @@ -193,7 +193,7 @@ CFE_TIME_Compare_t CFE_TIME_Compare(CFE_TIME_SysTime_t TimeA, CFE_TIME_SysTime_
CFE_TIME_SysTime_t CFE_TIME_Add(CFE_TIME_SysTime_t Time1, CFE_TIME_SysTime_t Time2)
{
static CFE_TIME_SysTime_t SimTime = { 0 };
CFE_TIME_SysTime_t Result;
CFE_TIME_SysTime_t Result = { 0 };
int32 status;

status = UT_DEFAULT_IMPL(CFE_TIME_Add);
Expand Down

0 comments on commit 002e834

Please sign in to comment.