Index: src/gpu/effects/GrConstColorProcessor.cpp |
diff --git a/src/gpu/effects/GrConstColorProcessor.cpp b/src/gpu/effects/GrConstColorProcessor.cpp |
index 62a1ecc5e83237ed1659bb6ed03a178d0777a7d7..c51ab8e92f95439036605a58eff9598bf7e79509 100644 |
--- a/src/gpu/effects/GrConstColorProcessor.cpp |
+++ b/src/gpu/effects/GrConstColorProcessor.cpp |
@@ -113,7 +113,7 @@ bool GrConstColorProcessor::onIsEqual(const GrFragmentProcessor& other) const { |
GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrConstColorProcessor); |
const GrFragmentProcessor* GrConstColorProcessor::TestCreate(GrProcessorTestData* d) { |
- GrColor color; |
+ GrColor color SK_INIT_TO_AVOID_WARNING; |
int colorPicker = d->fRandom->nextULessThan(3); |
switch (colorPicker) { |
case 0: { |