From 0c6e363125263335f67ae37d574cef9ce0df6cc7 Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Thu, 14 Oct 2010 23:39:50 -0700 Subject: [PATCH] initialize ptr --- ninja.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ninja.h b/ninja.h index 7c6915c..f17d336 100644 --- a/ninja.h +++ b/ninja.h @@ -18,7 +18,7 @@ struct FileStat { struct Edge; struct Node { - Node(FileStat* file) : file_(file), dirty_(false) {} + Node(FileStat* file) : file_(file), dirty_(false), in_edge_(NULL) {} bool dirty() const { return dirty_; } void MarkDirty(); -- 2.34.1