mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 04:45:41 +02:00
yml: yml_value_as_bool(): return false if value didn't match any known values
This commit is contained in:
parent
28b0f150cd
commit
9351d3b6d9
1 changed files with 2 additions and 0 deletions
2
yml.c
2
yml.c
|
@ -564,6 +564,8 @@ yml_value_as_bool(const struct yml_node *value)
|
||||||
return false;
|
return false;
|
||||||
} else
|
} else
|
||||||
assert(false);
|
assert(false);
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Reference in a new issue