Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix #392, cpp check warning #393

Merged
merged 1 commit into from
Nov 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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