From f6d74544f82ce8186e73a6ba268c2bc56b3ce5c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Mon, 28 Dec 2015 04:02:52 +0100 Subject: [PATCH] Stylistic, equivalent change --- liberty.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/liberty.c b/liberty.c index eb7c053..e214340 100644 --- a/liberty.c +++ b/liberty.c @@ -4873,10 +4873,8 @@ config_load (struct config *self, struct config_item *root) (&root->value.object, module->name); // Silently fix inputs that only a lunatic user could create if (!subtree || subtree->type != CONFIG_ITEM_OBJECT) - { - subtree = config_item_object (); - str_map_set (&root->value.object, module->name, subtree); - } + str_map_set (&root->value.object, module->name, + (subtree = config_item_object ())); if (module->loader) module->loader (subtree, module->user_data); }