Index: src/animator/SkDrawBitmap.cpp |
diff --git a/src/animator/SkDrawBitmap.cpp b/src/animator/SkDrawBitmap.cpp |
index 64c2850a3e40a86cd521d993792c954f31d129b4..191240855c9d8c1882aab846a3fea8c1ddf26ee0 100644 |
--- a/src/animator/SkDrawBitmap.cpp |
+++ b/src/animator/SkDrawBitmap.cpp |
@@ -73,7 +73,7 @@ void SkDrawBitmap::dump(SkAnimateMaker* maker) { |
SkColorGetG(fColor), SkColorGetB(fColor)); |
if (rowBytes > 0) |
SkDebugf("rowBytes=\"%d\" ", rowBytes); |
- const char* formatName; |
+ const char* formatName SK_INIT_TO_AVOID_WARNING; |
switch (format) { |
case 0: formatName = "none"; break; |
case 1: formatName = "A8"; break; |