Index: tests/PictureTest.cpp |
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp |
index b90cc030d78c228d0a57cfb1f4c5c4c7f562b8bc..acde9b6d58a429a9cdaaaf9a8a1d891a6c450838 100644 |
--- a/tests/PictureTest.cpp |
+++ b/tests/PictureTest.cpp |
@@ -340,8 +340,7 @@ static void test_bad_bitmap() { |
} |
#endif |
-static SkData* encode_bitmap_to_data(size_t* offset, const SkBitmap& bm) { |
- *offset = 0; |
+static SkData* encode_bitmap_to_data(size_t*, const SkBitmap& bm) { |
return SkImageEncoder::EncodeData(bm, SkImageEncoder::kPNG_Type, 100); |
} |