init prevLevel to avoid warning
git-svn-id: http://skia.googlecode.com/svn/trunk@10166 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
8e2ef01cdd
commit
7437bfb9fa
@ -31,7 +31,7 @@ static void TestMipMap(skiatest::Reporter* reporter) {
|
||||
REPORTER_ASSERT(reporter, !mm->extractLevel(SK_Scalar1, NULL));
|
||||
REPORTER_ASSERT(reporter, !mm->extractLevel(SK_Scalar1 * 2, NULL));
|
||||
|
||||
SkMipMap::Level prevLevel;
|
||||
SkMipMap::Level prevLevel = { 0 }; // make warnings happy
|
||||
prevLevel.fPixels = NULL; // sentinel
|
||||
|
||||
SkScalar scale = SK_Scalar1;
|
||||
|
Loading…
Reference in New Issue
Block a user