From 2fad5a8da92b0c1b8455c04690ecaa28de8db50f Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 13 Jun 2013 19:47:23 +0000 Subject: [PATCH] Hopefully fix Android warning-as-error about uninit var. git-svn-id: http://skia.googlecode.com/svn/trunk@9593 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/GrDrawState.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index 9d1e64d1fe..8704fe4084 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h @@ -401,7 +401,7 @@ public: */ class AutoRestoreEffects : public ::GrNoncopyable { public: - AutoRestoreEffects() : fDrawState(NULL) {} + AutoRestoreEffects() : fDrawState(NULL), fColorEffectCnt(0), fCoverageEffectCnt(0) {} AutoRestoreEffects(GrDrawState* ds) : fDrawState(NULL) { this->set(ds); }