aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-09-19 10:28:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-09-20 08:07:55 +0200
commitb5a69b7a35b94b8dffbe0408a08e0411838e3c77 (patch)
tree7f657c43c93cb265a3af8bcd1a2cfea9e9ad3eb3
parent7d5524500d63e892743071213062f8e46a0fee3f (diff)
tool_getparam: remove duplicate switch case
Fixes warning detected by PVS-Studio Fixes #4374
-rw-r--r--src/tool_getparam.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index 2c1868383..2012a91ac 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -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;