diff options
author | 2011-07-29 13:44:30 +0000 | |
---|---|---|
committer | 2011-07-29 13:44:30 +0000 | |
commit | 2c2508d2ede7e6a8eb43dba0ef2419905ccbb3d8 (patch) | |
tree | 5035faa69e52c6ea64ef95d693cf6af90f609171 /gpu/src/GrRedBlackTree.h | |
parent | e14490adad033991401714252458f7ed9c993ba2 (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.h | 2 |
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; |