mirror of
https://github.com/mirror/wget.git
synced 2025-01-01 16:00:31 +08:00
* src/main.c (init_switches): Remove unneeded code (Coverity #1419658)
This commit is contained in:
parent
9b1b9961ef
commit
ada3396c72
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user