yml: yml_value_as_bool(): return false if value didn't match any known values

This commit is contained in:
Daniel Eklöf 2019-01-01 20:32:12 +01:00
parent 28b0f150cd
commit 9351d3b6d9

2
yml.c
View file

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