* src/main.c (init_switches): Remove unneeded code (Coverity #1419658)

This commit is contained in:
Tim Rühsen 2020-02-20 13:20:21 +01:00
parent 9b1b9961ef
commit ada3396c72

View File

@ -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;