aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRedBlackTree.h
diff options
context:
space:
mode:
authorGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-07 19:54:40 +0000
committerGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-07 19:54:40 +0000
commit0e51577a14f903ffeafa117a75954baeb173ffb9 (patch)
tree3f3d849f3b6ec7778660f0da19f5d4175ba9f800 /src/gpu/GrRedBlackTree.h
parentaf2bd7bdf593b3fc91bb1acffcc4a51bdb2f29ec (diff)
fix warning from scalar --> int32 conversion
BUG= Review URL: https://codereview.appspot.com/7065050 git-svn-id: http://skia.googlecode.com/svn/trunk@7061 2bbb7eff-a529-9590-31e7-b0007b416f81
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];
}