aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/MathTest.cpp
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-03-20 04:59:37 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-03-20 04:59:37 +0000
commit04225dcdec5a01bc9889b7fb03e7aceb87fccc6e (patch)
tree48d7298be4647a1620e7b2ef722d725ba6ce88ab /tests/MathTest.cpp
parent49f0ff25a046d6001dc2d095b6fa3c30f0f46b6a (diff)
build with -Wall
fix associated warnings (at least on gcc 4.0.1) git-svn-id: http://skia.googlecode.com/svn/trunk@129 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/MathTest.cpp')
-rw-r--r--tests/MathTest.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp
index 50d59cfd19..38c3dc1319 100644
--- a/tests/MathTest.cpp
+++ b/tests/MathTest.cpp
@@ -176,11 +176,6 @@ static void TestMath(skiatest::Reporter* reporter) {
int32_t x;
SkRandom rand;
- // these should not assert
- SkToS8(127); SkToS8(-128); SkToU8(255);
- SkToS16(32767); SkToS16(-32768); SkToU16(65535);
- SkToS32(2*1024*1024); SkToS32(-2*1024*1024); SkToU32(4*1024*1024);
-
// these should assert
#if 0
SkToS8(128);