added all coverity fixes

This commit is contained in:
muellerr committed 2021-04-11 21:54:48 +02:00
1 parent b4594e6f43
commit b786b53c35
23 files changed
+95 -57

No files matched your search

+1 -1
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;