commit | ccaa002dd81a6a8bd5acb7a2fa69a2437873c1fd | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Sep 25 19:55:07 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Sep 25 19:55:07 2012 +0000 |
tree | 20a07099aa83d22da15edac61f32f10d38837100 | |
parent | 2e91d7adb7cbb5f5edccef1b5d1e71c901a697e2 [diff] [blame] |
Fix some linux build warnings Review URL: https://codereview.appspot.com/6571050 git-svn-id: http://skia.googlecode.com/svn/trunk@5675 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp index 755841e..80ced21 100644 --- a/tests/ReadPixelsTest.cpp +++ b/tests/ReadPixelsTest.cpp
@@ -93,6 +93,9 @@ g = static_cast<U8CPU>(c[1]); b = static_cast<U8CPU>(c[2]); break; + default: + SkDEBUGFAIL("Unexpected Config8888"); + return 0; } if (*premul) { r = SkMulDiv255Ceiling(r, a);