From 38dd9f2e41748953f46e5daaf341971a851b247d Mon Sep 17 00:00:00 2001 From: caryclark Date: Tue, 19 Aug 2014 07:39:40 -0700 Subject: remove unused SkIntToFloatCast_NoOverflowCheck R=reed@google.com, reed BUG=skia:2849 Author: caryclark@google.com Review URL: https://codereview.chromium.org/483273003 --- tests/MathTest.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/MathTest.cpp') diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp index 4205ce6cf5..20539369b8 100644 --- a/tests/MathTest.cpp +++ b/tests/MathTest.cpp @@ -264,9 +264,7 @@ static void test_float_conversions(skiatest::Reporter* reporter, float x) { static void test_int2float(skiatest::Reporter* reporter, int ival) { float x0 = (float)ival; float x1 = SkIntToFloatCast(ival); - float x2 = SkIntToFloatCast_NoOverflowCheck(ival); REPORTER_ASSERT(reporter, x0 == x1); - REPORTER_ASSERT(reporter, x0 == x2); } static void unittest_fastfloat(skiatest::Reporter* reporter) { -- cgit v1.2.3