aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/src/GrRedBlackTree.h
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-29 13:44:30 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-29 13:44:30 +0000
commit2c2508d2ede7e6a8eb43dba0ef2419905ccbb3d8 (patch)
tree5035faa69e52c6ea64ef95d693cf6af90f609171 /gpu/src/GrRedBlackTree.h
parente14490adad033991401714252458f7ed9c993ba2 (diff)
More variable initializations and curly braces to avoid Linux compiler
warnings. git-svn-id: http://skia.googlecode.com/svn/trunk@1993 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/src/GrRedBlackTree.h')
-rw-r--r--gpu/src/GrRedBlackTree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/src/GrRedBlackTree.h b/gpu/src/GrRedBlackTree.h
index 1e81b274aa..da5ae3e3b2 100644
--- a/gpu/src/GrRedBlackTree.h
+++ b/gpu/src/GrRedBlackTree.h
@@ -354,7 +354,7 @@ typename GrRedBlackTree<T,C>::Iter GrRedBlackTree<T,C>::insert(const T& t) {
Node* p = NULL;
Node* n = fRoot;
Child pc = kLeft_Child; // suppress uninit warning
- Child gpc;
+ Child gpc = kLeft_Child;
bool first = true;
bool last = true;