projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb03d87
)
Fixed uninitialized value
author
Armin Novak
<armin.novak@thincast.com>
Tue, 23 Jun 2020 09:53:45 +0000
(11:53 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Mon, 6 Jul 2020 09:13:45 +0000
(11:13 +0200)
(cherry picked from commit
dc112d19355491f1b5e23631c15c5d960746bfac
)
winpr/libwinpr/timezone/timezone.c
patch
|
blob
|
history
diff --git
a/winpr/libwinpr/timezone/timezone.c
b/winpr/libwinpr/timezone/timezone.c
index
12fcd44
..
d8e33e0
100644
(file)
--- a/
winpr/libwinpr/timezone/timezone.c
+++ b/
winpr/libwinpr/timezone/timezone.c
@@
-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);