From: Bastian Dehn Date: Wed, 6 May 2026 06:54:02 +0000 (+0200) Subject: remove config read error early return X-Git-Tag: v1.1.30^2~2 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=61d3193fb80aeba715e04c35d7ce56af355d8062;p=sane-kds-s2000w-net.git remove config read error early return --- diff --git a/src/kds_s2000w_handler.c b/src/kds_s2000w_handler.c index 65a8311..d0e19fd 100644 --- a/src/kds_s2000w_handler.c +++ b/src/kds_s2000w_handler.c @@ -55,9 +55,6 @@ void _kds_s2000w_handler_load_config(handler_t* h) kds_s2000w_debug_printf(ALL, __func__); char* config_stream = kds_s2000w_config_read(CONFIG_FILE); - if (config_stream == NULL) - return; - program_config_t* config = kds_s2000w_config_load(config_stream); if (config == NULL) return;