From 65ffa4a4ee599194118a0ddf3c26fc3674120b4a Mon Sep 17 00:00:00 2001 From: weili Date: Wed, 13 Apr 2016 10:26:53 -0700 Subject: Re-enable warning 4701 for GN build and some cleanup Clean up three 4701 warnings (use potientially uninitialized variable) which are the only ones left; Re-enable warning 4701 for GN build; Remove an unused data structure; BUG=pdfium:29 Review URL: https://codereview.chromium.org/1885093002 --- xfa/fgas/localization/fgas_datetime.h | 31 ------------------------------- 1 file changed, 31 deletions(-) (limited to 'xfa') diff --git a/xfa/fgas/localization/fgas_datetime.h b/xfa/fgas/localization/fgas_datetime.h index df2989fc58..7c8f111bfc 100644 --- a/xfa/fgas/localization/fgas_datetime.h +++ b/xfa/fgas/localization/fgas_datetime.h @@ -205,37 +205,6 @@ struct FX_DATETIME { } Time; }; -struct FX_DATETIMEZONE { - union { - struct { - union { - struct { - int32_t year; - uint8_t month; - uint8_t day; - }; - FX_DATE date; - }; - union { - struct { - uint8_t hour; - uint8_t minute; - uint8_t second; - uint16_t millisecond; - }; - FX_TIME time; - }; - }; - FX_DATETIME dt; - }; - union { - struct { - int8_t tzHour; - uint8_t tzMinute; - }; - FX_TIMEZONE tz; - }; -}; #if _FX_OS_ != _FX_ANDROID_ #pragma pack(pop) #endif -- cgit v1.2.3