mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Initialize a field that was previously uninitialized
Caught by UBSan
This commit is contained in:
parent
c0c7b0f86f
commit
fbd4ff027a
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ struct function_properties_t {
|
||||||
wcstring_list_t named_arguments;
|
wcstring_list_t named_arguments;
|
||||||
|
|
||||||
/// Set to true if invoking this function shadows the variables of the underlying function.
|
/// Set to true if invoking this function shadows the variables of the underlying function.
|
||||||
bool shadow_scope;
|
bool shadow_scope{true};
|
||||||
};
|
};
|
||||||
|
|
||||||
/// Structure describing a function. This is used by the parser to store data on a function while
|
/// Structure describing a function. This is used by the parser to store data on a function while
|
||||||
|
|
Loading…
Reference in a new issue