Needed to initialize time_t to 0 in GetTimeZone to prevent a arithmetic underflow in VA 4.0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2001-01-09 23:29:09 +00:00
parent e08d628d42
commit a2ae327513

View File

@@ -247,9 +247,9 @@ static int GetTimeZone()
{
// just call localtime() instead of figuring out whether this system
// supports tzset(), _tzset() or something else
time_t t;
(void)localtime(&t);
time_t t = 0;
(void)localtime(&t);
s_timezoneSet = TRUE;
}