projects
/
platform
/
upstream
/
SPIRV-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac537c7
)
Fixed harmless uninit var warning
author
Andrey Tuganov
<andreyt@google.com>
Wed, 31 Jan 2018 21:59:55 +0000
(16:59 -0500)
committer
David Neto
<dneto@google.com>
Wed, 31 Jan 2018 22:49:01 +0000
(17:49 -0500)
source/util/move_to_front.h
patch
|
blob
|
history
diff --git
a/source/util/move_to_front.h
b/source/util/move_to_front.h
index
0cfd7c1
..
de405dd
100644
(file)
--- a/
source/util/move_to_front.h
+++ b/
source/util/move_to_front.h
@@
-609,7
+609,7
@@
void MoveToFront<Val>::InsertNode(uint32_t node) {
// Will determine if |node| will become the right or left child after
// insertion (but before balancing).
- bool right_child;
+ bool right_child
= true
;
// Find the node which will become |node|'s parent after insertion
// (but before balancing).