]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetime.cpp
New event types for use in external libs (and from
[wxWidgets.git] / src / common / datetime.cpp
index e259d1824b2a6673bba476afb7048b0cbb3cd67e..6dab7627004e93baeb2ec20eaed898d582c18b88 100644 (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;
     }