[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 56/222: tool_getparam: remove duplicate switch case
From: |
gnunet |
Subject: |
[gnurl] 56/222: tool_getparam: remove duplicate switch case |
Date: |
Thu, 07 Nov 2019 00:09:12 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit b5a69b7a35b94b8dffbe0408a08e0411838e3c77
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Sep 19 10:28:05 2019 +0200
tool_getparam: remove duplicate switch case
Fixes warning detected by PVS-Studio
Fixes #4374
---
src/tool_getparam.c | 6 +-----
1 file changed, 1 insertion(+), 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;
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 60/222: THANKS-filter: deal with my typos 'Jat' => 'Jay', (continued)
- [gnurl] 60/222: THANKS-filter: deal with my typos 'Jat' => 'Jay', gnunet, 2019/11/06
- [gnurl] 64/222: FTP: FTPFILE_NOCWD: avoid redundant CWDs, gnunet, 2019/11/06
- [gnurl] 68/222: altsvc: both backends run h3-23 now, gnunet, 2019/11/06
- [gnurl] 48/222: imap: merged two case-branches performing the same action, gnunet, 2019/11/06
- [gnurl] 50/222: mime: make Curl_mime_duppart() assert if called without valid dst, gnunet, 2019/11/06
- [gnurl] 57/222: tool_operate: Expression 'config->resume_from' is always true, gnunet, 2019/11/06
- [gnurl] 67/222: http: fix warning on conversion from int to bit, gnunet, 2019/11/06
- [gnurl] 81/222: libssh: The expression is excessive or contains a misprint, gnunet, 2019/11/06
- [gnurl] 51/222: setopt: store CURLOPT_RTSP_SERVER_CSEQ correctly, gnunet, 2019/11/06
- [gnurl] 52/222: urlapi: part of conditional expression is always true: (relurl[0] == '/'), gnunet, 2019/11/06
- [gnurl] 56/222: tool_getparam: remove duplicate switch case,
gnunet <=
- [gnurl] 65/222: appveyor: upgrade VS2017 to VS2019, gnunet, 2019/11/06
- [gnurl] 62/222: urlapi: avoid index underflow for short ipv6 hostnames, gnunet, 2019/11/06
- [gnurl] 63/222: cookie: pass in the correct cookie amount to qsort(), gnunet, 2019/11/06
- [gnurl] 66/222: urldata: use 'bool' for the bit type on MSVC compilers, gnunet, 2019/11/06
- [gnurl] 73/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 72/222: openssl: fix compiler warning with LibreSSL, gnunet, 2019/11/06
- [gnurl] 79/222: vauth: The parameter 'status' must be surrounded by parentheses, gnunet, 2019/11/06
- [gnurl] 78/222: doh: allow only http and https in debug mode, gnunet, 2019/11/06
- [gnurl] 71/222: curl: exit the create_transfers loop on errors, gnunet, 2019/11/06
- [gnurl] 80/222: quiche: The expression must be surrounded by parentheses, gnunet, 2019/11/06