fix warnings on Mac in bench

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

git-svn-id: http://skia.googlecode.com/svn/trunk@4188 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/bench/InterpBench.cpp b/bench/InterpBench.cpp
index 89841f8..85fada3 100644
--- a/bench/InterpBench.cpp
+++ b/bench/InterpBench.cpp
@@ -102,10 +102,10 @@
         int64_t step = (int64_t)(dx * 65536 * 655536 * 65536);
         SkFixed tmp;
         for (int i = 0; i < count; i += 4) {
-            tmp = curr >> 32; dst[i + 0] = TILE(tmp, count); curr += step;
-            tmp = curr >> 32; dst[i + 1] = TILE(tmp, count); curr += step;
-            tmp = curr >> 32; dst[i + 2] = TILE(tmp, count); curr += step;
-            tmp = curr >> 32; dst[i + 3] = TILE(tmp, count); curr += step;
+            tmp = (SkFixed) (curr >> 32); dst[i + 0] = TILE(tmp, count); curr += step;
+            tmp = (SkFixed) (curr >> 32); dst[i + 1] = TILE(tmp, count); curr += step;
+            tmp = (SkFixed) (curr >> 32); dst[i + 2] = TILE(tmp, count); curr += step;
+            tmp = (SkFixed) (curr >> 32); dst[i + 3] = TILE(tmp, count); curr += step;
         }
     }
 private: