Fixed uninitialized value
This commit is contained in:
parent
b971c5c97f
commit
7d6e85a886
@ -341,7 +341,7 @@ DWORD GetTimeZoneInformation(LPTIME_ZONE_INFORMATION lpTimeZoneInformation)
|
||||
time_t t;
|
||||
struct tm tres;
|
||||
struct tm* local_time;
|
||||
TIME_ZONE_ENTRY* dtz;
|
||||
TIME_ZONE_ENTRY* dtz = NULL;
|
||||
LPTIME_ZONE_INFORMATION tz = lpTimeZoneInformation;
|
||||
lpTimeZoneInformation->StandardBias = 0;
|
||||
time(&t);
|
||||
|
Loading…
Reference in New Issue
Block a user