mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-21 20:05:42 +02:00
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
|
bool
|
||||||
yml_value_as_bool(const struct yml_node *value)
|
yml_value_as_bool(const struct yml_node *value)
|
||||||
{
|
{
|
||||||
bool ret;
|
bool ret = false;
|
||||||
_as_bool(value, &ret);
|
_as_bool(value, &ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue