fix warnings on Mac in src/animator
authorcaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 6 Jun 2012 12:11:55 +0000 (12:11 +0000)
committercaryclark@google.com <caryclark@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 6 Jun 2012 12:11:55 +0000 (12:11 +0000)
commit16230cbaca6edda06ac75f3a949943ebc73c4ea0
tree9dc0ae2140ba9a90848f6091fed856e9a9c1d2f5
parent19069a28225356bc24a5df7ad03c4d4ac5c532cb
fix warnings on Mac in src/animator

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

git-svn-id: http://skia.googlecode.com/svn/trunk@4189 2bbb7eff-a529-9590-31e7-b0007b416f81
src/animator/SkDisplayNumber.cpp
src/animator/SkDrawGradient.cpp
src/animator/SkScriptRuntime.h