mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
config: deco_from_config() return NULL if we didn't match a deco
This commit is contained in:
parent
ba1c52d291
commit
e711a6f103
1 changed files with 2 additions and 0 deletions
2
config.c
2
config.c
|
@ -166,6 +166,8 @@ deco_from_config(const struct yml_node *node)
|
||||||
return deco_stack_from_config(deco_data);
|
return deco_stack_from_config(deco_data);
|
||||||
else
|
else
|
||||||
assert(false);
|
assert(false);
|
||||||
|
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct particle *
|
static struct particle *
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue