Merge to XFA: patch from issue 692533005
authorTom Sepez <tsepez@chromium.org>
Thu, 6 Nov 2014 22:45:35 +0000 (14:45 -0800)
committerTom Sepez <tsepez@chromium.org>
Thu, 6 Nov 2014 22:45:35 +0000 (14:45 -0800)
Review URL: https://codereview.chromium.org/706993004

fpdfsdk/include/fx_systemhandler.h

index b9ac413..e0c3622 100644 (file)
@@ -13,6 +13,15 @@ typedef void                                 (*TimerCallback)(FX_INT32 idEvent);
 
 typedef struct _FX_SYSTEMTIME 
 {
+    _FX_SYSTEMTIME()
+      : wYear(0),
+        wMonth(0),
+        wDayOfWeek(0),
+        wDay(0),
+        wHour(0),
+        wMinute(0),
+        wSecond(0),
+        wMilliseconds(0) {}
     FX_WORD wYear;
     FX_WORD wMonth;
     FX_WORD wDayOfWeek;