| Index: tests/KtxTest.cpp
|
| diff --git a/tests/KtxTest.cpp b/tests/KtxTest.cpp
|
| index bddd09abbfe005665546eb4522237ce2bf49e50e..32dacd5a0f433399008a34cf14e04e4ab8cbc9a7 100644
|
| --- a/tests/KtxTest.cpp
|
| +++ b/tests/KtxTest.cpp
|
| @@ -28,8 +28,7 @@ DEF_TEST(KtxReadWrite, reporter) {
|
| SkRandom rand(0x1005cbad);
|
|
|
| SkBitmap bm8888;
|
| - bool pixelsAllocated = bm8888.allocN32Pixels(128, 128);
|
| - REPORTER_ASSERT(reporter, pixelsAllocated);
|
| + bm8888.allocN32Pixels(128, 128);
|
|
|
| uint8_t *pixels = reinterpret_cast<uint8_t*>(bm8888.getPixels());
|
| REPORTER_ASSERT(reporter, NULL != pixels);
|
|
|