From 706313b1e55c157d2209b09cb2eb661552a111a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 9 Jan 2019 21:17:41 +0100 Subject: [PATCH] config: backlight: content doesn't have to be a dictionary And, particle_from_config() will take care of asserting on the correct type anyway. --- config.c | 1 - 1 file changed, 1 deletion(-) diff --git a/config.c b/config.c index c49dffe..385b494 100644 --- a/config.c +++ b/config.c @@ -513,7 +513,6 @@ module_backlight_from_config(const struct yml_node *node, const struct yml_node *c = yml_get_value(node, "content"); assert(yml_is_scalar(name)); - assert(yml_is_dict(c)); return module_backlight( yml_value_as_string(name), particle_from_config(c, parent_font));