suppress uninit warning in rb-tree
authorbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 22 Feb 2011 19:45:21 +0000 (19:45 +0000)
committerbsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 22 Feb 2011 19:45:21 +0000 (19:45 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@826 2bbb7eff-a529-9590-31e7-b0007b416f81

gpu/src/GrRedBlackTree.h

index 310722a..e6448fb 100644 (file)
@@ -358,7 +358,7 @@ typename GrRedBlackTree<T,C>::Iter GrRedBlackTree<T,C>::insert(const T& t) {
     Node* gp = NULL;
     Node* p = NULL;
     Node* n = fRoot;
-    Child pc;
+    Child pc = kLeft_Child; // suppress uninit warning
     Child gpc;
 
     bool first = true;