1
0
forked from fsfw/fsfw

added all coverity fixes

This commit is contained in:
2021-04-11 21:54:48 +02:00
parent b4594e6f43
commit b786b53c35
23 changed files with 95 additions and 57 deletions

View File

@ -111,7 +111,7 @@ ReturnValue_t Clock::getDateAndTime(TimeOfDay_t* time) {
ReturnValue_t Clock::convertTimeOfDayToTimeval(const TimeOfDay_t* from,
timeval* to) {
struct tm time_tm;
struct tm time_tm = {};
time_tm.tm_year = from->year - 1900;
time_tm.tm_mon = from->month - 1;