aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-19 23:16:44 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-19 23:16:44 -0800
commitfbedf020bcb41f45b0f7bb848134624ee3748a81 (patch)
tree9f3aab0727f1e10b5b56b3e034160de10a8ca824 /env.cpp
parentd3e9183303d9de66e1a36d245c77df2db6163d4e (diff)
Null initialize an ivar (oops)
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.cpp b/env.cpp
index bdb36dc3..3bb1e8dc 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);