Fixed uninitialized value

This commit is contained in:
Armin Novak 2020-06-23 11:53:45 +02:00 committed by akallabeth
parent b971c5c97f
commit 7d6e85a886

View File

@ -341,7 +341,7 @@ DWORD GetTimeZoneInformation(LPTIME_ZONE_INFORMATION lpTimeZoneInformation)
time_t t; time_t t;
struct tm tres; struct tm tres;
struct tm* local_time; struct tm* local_time;
TIME_ZONE_ENTRY* dtz; TIME_ZONE_ENTRY* dtz = NULL;
LPTIME_ZONE_INFORMATION tz = lpTimeZoneInformation; LPTIME_ZONE_INFORMATION tz = lpTimeZoneInformation;
lpTimeZoneInformation->StandardBias = 0; lpTimeZoneInformation->StandardBias = 0;
time(&t); time(&t);