mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 17:02:45 +08:00
Null initialize an ivar (oops)
This commit is contained in:
parent
d3e9183303
commit
fbedf020bc
2
env.cpp
2
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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user