diff options
author | weili <weili@chromium.org> | 2016-04-19 15:50:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-19 15:50:28 -0700 |
commit | b67e566ed29b7115ceaca18aad046f1784435730 (patch) | |
tree | cd1ac1d5b8433498c2015ec9c076a3e6060f3e1a | |
parent | 4d31d0c653cf66f72bdef7cebbf7cff45d33f6c6 (diff) | |
download | pdfium-b67e566ed29b7115ceaca18aad046f1784435730.tar.xz |
Re-enable warning 4701 for GN (re-land)
Remove one left warning from GN Release build.
Review URL: https://codereview.chromium.org/1904473003
-rw-r--r-- | BUILD.gn | 1 | ||||
-rw-r--r-- | core/fpdfdoc/doc_form.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -44,7 +44,6 @@ config("pdfium_config") { if (is_win) { cflags += [ "/wd4267", - "/wd4701", ] } diff --git a/core/fpdfdoc/doc_form.cpp b/core/fpdfdoc/doc_form.cpp index d356a5c0e1..7c81f0ee6f 100644 --- a/core/fpdfdoc/doc_form.cpp +++ b/core/fpdfdoc/doc_form.cpp @@ -416,7 +416,7 @@ CPDF_Font* CPDF_InterForm::AddStandardFont(CPDF_Document* pDocument, CFX_ByteString CPDF_InterForm::GetNativeFont(uint8_t charSet, void* pLogFont) { CFX_ByteString csFontName; #if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_ - LOGFONTA lf; + LOGFONTA lf = {}; FX_BOOL bRet; if (charSet == ANSI_CHARSET) { csFontName = "Helvetica"; |