Initialize a field that was previously uninitialized

Caught by UBSan
This commit is contained in:
ridiculousfish 2019-05-04 16:47:27 -07:00
parent c0c7b0f86f
commit fbd4ff027a

View file

@ -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