forked from external/yambar
yml: initialize return value, fixes gcc warning (-O3 -Wall)
This commit is contained in:
parent
bf5ad4d6b7
commit
f0cc0b4383
1 changed files with 1 additions and 1 deletions
2
yml.c
2
yml.c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue