aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRedBlackTree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrRedBlackTree.h')
-rw-r--r--src/gpu/GrRedBlackTree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrRedBlackTree.h b/src/gpu/GrRedBlackTree.h
index 5038bb07bd..2ccf77fb50 100644
--- a/src/gpu/GrRedBlackTree.h
+++ b/src/gpu/GrRedBlackTree.h
@@ -956,7 +956,7 @@ void GrRedBlackTree<T,C>::UnitTest() {
// add 10K ints
for (int i = 0; i < 10000; ++i) {
int x = r.nextU()%100;
- Iter xi = tree.insert(x);
+ SkDEBUGCODE(Iter xi = ) tree.insert(x);
GrAssert(*xi == x);
++count[x];
}