config: deco_from_config() return NULL if we didn't match a deco

This commit is contained in:
Daniel Eklöf 2019-01-01 20:29:55 +01:00
parent ba1c52d291
commit e711a6f103

View file

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