]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
remove config read error early return
authorBastian Dehn <hhaalo@arcor.de>
Wed, 6 May 2026 06:54:02 +0000 (08:54 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Wed, 6 May 2026 06:54:02 +0000 (08:54 +0200)
src/kds_s2000w_handler.c

index 65a8311527aff227249eea5173f77ef20d803401..d0e19fdb2f33cad2b2ecf8c6d054fe40e882deac 100644 (file)
@@ -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;