Index: src/gpu/effects/GrBitmapTextGeoProc.cpp |
diff --git a/src/gpu/effects/GrBitmapTextGeoProc.cpp b/src/gpu/effects/GrBitmapTextGeoProc.cpp |
index 18f12bdfa51d8c5ebd6dbbe83c5469c07b8e2445..b5bae466fd0e9287ec60ebf387ebdb2e95a72be9 100644 |
--- a/src/gpu/effects/GrBitmapTextGeoProc.cpp |
+++ b/src/gpu/effects/GrBitmapTextGeoProc.cpp |
@@ -179,7 +179,7 @@ const GrGeometryProcessor* GrBitmapTextGeoProc::TestCreate(GrProcessorTestData* |
GrTextureParams params(tileModes, d->fRandom->nextBool() ? GrTextureParams::kBilerp_FilterMode : |
GrTextureParams::kNone_FilterMode); |
- GrMaskFormat format; |
+ GrMaskFormat format = kARGB_GrMaskFormat; // init to avoid warning |
switch (d->fRandom->nextULessThan(3)) { |
case 0: |
format = kA8_GrMaskFormat; |