yml: initialize return value, fixes gcc warning (-O3 -Wall)

This commit is contained in:
Daniel Eklöf 2019-01-07 18:26:29 +01:00
parent bf5ad4d6b7
commit f0cc0b4383

2
yml.c
View file

@ -750,7 +750,7 @@ yml_value_is_bool(const struct yml_node *value)
bool
yml_value_as_bool(const struct yml_node *value)
{
bool ret;
bool ret = false;
_as_bool(value, &ret);
return ret;
}