From fbedf020bcb41f45b0f7bb848134624ee3748a81 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 19 Feb 2013 23:16:44 -0800 Subject: [PATCH] Null initialize an ivar (oops) --- env.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/env.cpp b/env.cpp index bdb36dc31..3bb1e8dc6 100644 --- a/env.cpp +++ b/env.cpp @@ -130,7 +130,7 @@ struct env_node_t struct env_node_t *next; - env_node_t() : new_scope(false), exportv(false) { } + env_node_t() : new_scope(false), exportv(false), next(NULL) { } /* Returns a pointer to the given entry if present, or NULL. */ const var_entry_t *find_entry(const wcstring &key);