From 3e4d4514adbf0c2fa46353a1def190c4987d2c21 Mon Sep 17 00:00:00 2001 From: Slendi Date: Sun, 10 Aug 2025 07:45:37 +0300 Subject: [PATCH] Remove unnecessary lua eval Signed-off-by: Slendi --- src/Config.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Config.c b/src/Config.c index 4ccaa51..9fd6e4c 100644 --- a/src/Config.c +++ b/src/Config.c @@ -340,13 +340,6 @@ ConfigManager *config_manager_create(char const *path) return NULL; } - if (cm->path && load_config_file(cm->L, cm->path) == 0) { - if (config_load_ref(cm->L, -1, &cm->cfg) != 0) { - lua_pop(cm->L, 1); - } else { - lua_pop(cm->L, 1); - } - } return cm; }