fix warnings on Mac in src/images
authorcaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 6 Jun 2012 12:04:36 +0000 (12:04 +0000)
committercaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 6 Jun 2012 12:04:36 +0000 (12:04 +0000)
commit2a2cc2057347553f07d933b021876ba5502e55cd
tree55151496d31b4aca6a60fda20876b850c3dbc0a4
parent1445a0d53b0793a2cc05c20e4ba74528f028cd8e
fix warnings on Mac in src/images

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/6299048

git-svn-id: http://skia.googlecode.com/svn/trunk@4179 2bbb7eff-a529-9590-31e7-b0007b416f81
src/images/SkFDStream.cpp
src/images/SkImageDecoder_libbmp.cpp
src/images/SkImageDecoder_libico.cpp
src/images/SkImageDecoder_libjpeg.cpp
src/images/SkImageDecoder_wbmp.cpp
src/images/SkJpegUtility.cpp