Core/Misc: Fix static analysis issues

Fix coverity id 1382860

(cherry picked from commit 19e99478a70515660615fa8c9d27c7b9581d3098)
This commit is contained in:
jackpoz
2021-02-25 18:50:55 +01:00
committed by funjoker
parent 2a51edc5bc
commit 668a3ad643
+2
View File
@@ -1750,6 +1750,8 @@ void GameEventMgr::SetHolidayEventTime(GameEventData& event)
timeInfo.tm_hour = (date >> 6) & 0x1F;
timeInfo.tm_min = date & 0x3F;
timeInfo.tm_sec = 0;
timeInfo.tm_wday = 0;
timeInfo.tm_yday = 0;
timeInfo.tm_isdst = -1;
tm tmCopy = timeInfo;