From ada3396c72680e033c47fad41c97ba9a2ab99db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= Date: Thu, 20 Feb 2020 13:20:21 +0100 Subject: [PATCH] * src/main.c (init_switches): Remove unneeded code (Coverity #1419658) --- src/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main.c b/src/main.c index 10acd191..bc6ab2a5 100644 --- a/src/main.c +++ b/src/main.c @@ -512,10 +512,6 @@ init_switches (void) struct cmdline_option *cmdopt = &option_data[i]; struct option *longopt; - if (!cmdopt->long_name) - /* The option is disabled. */ - continue; - longopt = &long_options[o++]; longopt->name = cmdopt->long_name; longopt->val = i;