Index: test/cctest/compiler/test-graph-reducer.cc |
diff --git a/test/cctest/compiler/test-graph-reducer.cc b/test/cctest/compiler/test-graph-reducer.cc |
index 97aebafcf1a44f3c0878bcbfc28d84dc4346140b..189b3db18e7c65e0f90dbe730b940bd901ea3479 100644 |
--- a/test/cctest/compiler/test-graph-reducer.cc |
+++ b/test/cctest/compiler/test-graph-reducer.cc |
@@ -490,7 +490,7 @@ TEST(Sorter1) { |
Node* n1 = graph.NewNode(&OPA0); |
Node* n2 = graph.NewNode(&OPA1, n1); |
Node* n3 = graph.NewNode(&OPA1, n1); |
- Node* end; |
+ Node* end = NULL; // Initialize to please the compiler. |
if (i == 0) end = graph.NewNode(&OPA2, n2, n3); |
if (i == 1) end = graph.NewNode(&OPA2, n3, n2); |