Index: src/gpu/GrTextureParamsAdjuster.cpp |
diff --git a/src/gpu/GrTextureParamsAdjuster.cpp b/src/gpu/GrTextureParamsAdjuster.cpp |
index 09285579c16a90ed7770836c6fb999a84bbff74f..2aedad57ef249797bafd3569029d6f2e271862f5 100644 |
--- a/src/gpu/GrTextureParamsAdjuster.cpp |
+++ b/src/gpu/GrTextureParamsAdjuster.cpp |
@@ -72,8 +72,9 @@ static GrTexture* copy_on_gpu(GrTexture* inputTexture, const SkIRect* subset, |
GrPaint paint; |
- SkScalar sx; |
- SkScalar sy; |
+ // TODO: Initializing these values for no reason cause the compiler is complaining |
+ SkScalar sx = 0.f; |
+ SkScalar sy = 0.f; |
if (subset) { |
sx = 1.f / inputTexture->width(); |
sy = 1.f / inputTexture->height(); |