Index: tests/GradientTest.cpp |
=================================================================== |
--- tests/GradientTest.cpp (revision 7988) |
+++ tests/GradientTest.cpp (working copy) |
@@ -42,7 +42,7 @@ |
}; |
-static void none_gradproc(skiatest::Reporter* reporter, const GradRec& rec) { |
+static void none_gradproc(skiatest::Reporter* reporter, const GradRec&) { |
SkAutoTUnref<SkShader> s(new SkEmptyShader); |
REPORTER_ASSERT(reporter, SkShader::kNone_GradientType == s->asAGradient(NULL)); |
} |
@@ -129,7 +129,7 @@ |
} |
// Ensure that repeated color gradients behave like drawing a single color |
-static void TestConstantGradient(skiatest::Reporter* reporter) { |
+static void TestConstantGradient(skiatest::Reporter*) { |
const SkPoint pts[] = { |
{ 0, 0 }, |
{ SkIntToScalar(10), 0 } |