diff options
author | weili <weili@chromium.org> | 2016-04-13 10:26:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-13 10:26:53 -0700 |
commit | 65ffa4a4ee599194118a0ddf3c26fc3674120b4a (patch) | |
tree | 2842a460a0f952f39db202314fa25a0a9f677d4d /core/fpdfapi/fpdf_edit | |
parent | eb9cf677ca1bfd9431e43804b5524a1cf9bd9a8f (diff) | |
download | pdfium-65ffa4a4ee599194118a0ddf3c26fc3674120b4a.tar.xz |
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
Diffstat (limited to 'core/fpdfapi/fpdf_edit')
-rw-r--r-- | core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp b/core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp index 379e75938e..c3d4ca621a 100644 --- a/core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp +++ b/core/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp @@ -354,7 +354,7 @@ CPDF_Font* CPDF_Document::AddWindowsFont(LOGFONTA* pLogFont, pFontDict = new CPDF_Dictionary; CFX_ByteString cmap; CFX_ByteString ordering; - int supplement; + int supplement = 0; CPDF_Array* pWidthArray = new CPDF_Array; switch (pLogFont->lfCharSet) { case CHINESEBIG5_CHARSET: |