fix warnings on Mac in src/pdf
authorcaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 6 Jun 2012 12:04:24 +0000 (12:04 +0000)
committercaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 6 Jun 2012 12:04:24 +0000 (12:04 +0000)
commit1445a0d53b0793a2cc05c20e4ba74528f028cd8e
tree0dbaf2f22be03a7958aa75906f6c18cc82d0acac
parent920901da539ed8fca76d372abbef872d2cb31be5
fix warnings on Mac in src/pdf

Fix these class of warnings:
- unused functions
- unused locals
- sign mismatch
- missing function prototypes
- missing newline at end of file
- 64 to 32 bit truncation

The changes prefer to link in dead code in the debug build
with 'if (false)' than to comment it out, but trivial cases
are commented out or sometimes deleted if it appears to be
a copy/paste error.
Review URL: https://codereview.appspot.com/6299047

git-svn-id: http://skia.googlecode.com/svn/trunk@4178 2bbb7eff-a529-9590-31e7-b0007b416f81
src/pdf/SkPDFCatalog.cpp
src/pdf/SkPDFDocument.cpp
src/pdf/SkPDFFont.cpp
src/pdf/SkPDFPage.cpp