Fix a few more warnings in chromium_code mode.
authorNico Weber <thakis@chromium.org>
Tue, 29 Jul 2014 17:13:17 +0000 (10:13 -0700)
committerNico Weber <thakis@chromium.org>
Tue, 29 Jul 2014 17:13:17 +0000 (10:13 -0700)
commit6c55495fcaf634e7f788f4dfe77fa1a106c9cd55
tree3fe8612d47f51ff551e480a2088a48349cd9bdf7
parentc77e8f73397613f278eaeef2cae44debc6a684c8
Fix a few more warnings in chromium_code mode.

No intended behavior change.

- Remove more unused variables, functions, member variables.
- Put a few constructor initializers in the order they execute in.
- Add braces for subobject initializers.
- Fix a handful of signed / unsigned comparisons.

BUG=pdfium:29
R=bo_xu@foxitsoftware.com

Review URL: https://codereview.chromium.org/429593005
26 files changed:
core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp
core/src/fpdfapi/fpdf_edit/fpdf_edit_doc.cpp
core/src/fpdfapi/fpdf_font/fpdf_font.cpp
core/src/fpdfapi/fpdf_font/fpdf_font_utility.cpp
core/src/fpdfapi/fpdf_font/ttgsubtable.h
core/src/fpdfapi/fpdf_page/fpdf_page.cpp
core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp
core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp
core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
core/src/fpdfapi/fpdf_render/fpdf_render_cache.cpp
core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp
core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp
core/src/fpdfdoc/doc_form.cpp
core/src/fpdfdoc/doc_vt.cpp
core/src/fpdfdoc/pdf_vt.h
core/src/fpdftext/fpdf_text_search.cpp
core/src/fxcodec/codec/fx_codec_jpeg.cpp
core/src/fxge/ge/fx_ge_fontmap.cpp
fpdfsdk/include/fsdk_annothandler.h
fpdfsdk/include/javascript/JS_GlobalData.h
fpdfsdk/src/javascript/JS_GlobalData.cpp
fpdfsdk/src/javascript/PublicMethods.cpp
fpdfsdk/src/javascript/util.cpp
fpdfsdk/src/pdfwindow/PWL_Wnd.cpp