From aebfa7e1b1e94f693f3e7beb6ad43cfcb0f69e98 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 15 Apr 2013 15:23:38 +0000 Subject: [PATCH] fix release warning (unused debug variable) git-svn-id: http://skia.googlecode.com/svn/trunk@8682 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkGeometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/SkGeometry.cpp b/src/core/SkGeometry.cpp index 32b44f9..a96e35b 100644 --- a/src/core/SkGeometry.cpp +++ b/src/core/SkGeometry.cpp @@ -1538,7 +1538,7 @@ int SkRationalQuad::chopIntoQuadsPOW2(SkPoint pts[], int pow2) const { } *pts = fPts[0]; - SkPoint* endPts = subdivide(*this, pts + 1, pow2); + SkDEBUGCODE(SkPoint* endPts =) subdivide(*this, pts + 1, pow2); SkASSERT(endPts - pts == (2 * (1 << pow2) + 1)); return 1 << pow2; } -- 2.7.4