diff options
author | 2012-06-06 12:11:33 +0000 | |
---|---|---|
committer | 2012-06-06 12:11:33 +0000 | |
commit | 9da0cea3a32e274ad8b40174a25e5f8c532fbd9b (patch) | |
tree | 8ad3f3466e153bcd69aba9c8570c600b9b8173a8 /experimental/SkSetPoly3To3_A.cpp | |
parent | 3dd459151f65bf5d1ccf5311cb9167332042879e (diff) |
fix warnings on Mac in experimental
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/6307044
git-svn-id: http://skia.googlecode.com/svn/trunk@4187 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/SkSetPoly3To3_A.cpp')
-rw-r--r-- | experimental/SkSetPoly3To3_A.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/experimental/SkSetPoly3To3_A.cpp b/experimental/SkSetPoly3To3_A.cpp index bf41713001..3825073416 100644 --- a/experimental/SkSetPoly3To3_A.cpp +++ b/experimental/SkSetPoly3To3_A.cpp @@ -7,6 +7,9 @@ */ #include "SkMatrix.h" +// FIXME: needs to be in a header +bool SkSetPoly3To3_A(SkMatrix* matrix, const SkPoint src[3], const SkPoint dst[3]); + #ifdef SK_SCALAR_IS_FIXED typedef int64_t SkDScalar; |