mirror of
https://github.com/moparisthebest/curl
synced 2024-12-25 09:38:54 -05:00
tool_getparam: remove duplicate switch case
Fixes warning detected by PVS-Studio Fixes #4374
This commit is contained in:
parent
7d5524500d
commit
b5a69b7a35
@ -243,7 +243,7 @@ static const struct LongShort aliases[]= {
|
||||
{"El", "tlspassword", ARG_STRING},
|
||||
{"Em", "tlsauthtype", ARG_STRING},
|
||||
{"En", "ssl-allow-beast", ARG_BOOL},
|
||||
{"Eo", "login-options", ARG_STRING},
|
||||
/* Eo */
|
||||
{"Ep", "pinnedpubkey", ARG_STRING},
|
||||
{"EP", "proxy-pinnedpubkey", ARG_STRING},
|
||||
{"Eq", "cert-status", ARG_BOOL},
|
||||
@ -1569,10 +1569,6 @@ ParameterError getparameter(const char *flag, /* f or -long-flag */
|
||||
config->ssl_allow_beast = toggle;
|
||||
break;
|
||||
|
||||
case 'o': /* --login-options */
|
||||
GetStr(&config->login_options, nextarg);
|
||||
break;
|
||||
|
||||
case 'p': /* Pinned public key DER file */
|
||||
GetStr(&config->pinnedpubkey, nextarg);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user