From f2505f4169ead173f2c7691b39d1779fc4a042d5 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Tue, 20 Apr 2021 10:16:43 +0200 Subject: [PATCH] config: Fix issue where menu_tree would be always NULL --- stage23/lib/config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stage23/lib/config.c b/stage23/lib/config.c index ab71d958..aa322486 100644 --- a/stage23/lib/config.c +++ b/stage23/lib/config.c @@ -137,10 +137,10 @@ int init_config(size_t config_size) { } } - menu_tree = create_menu_tree(NULL, 1, 0); - config_ready = true; + menu_tree = create_menu_tree(NULL, 1, 0); + return 0; }