diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-06-12 18:33:59 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-06-13 23:42:46 +0200 |
commit | 73f52ad7631ca4bd5449e5c4eb17cefcb28edc37 (patch) | |
tree | 4fe761b733e5054766b2c8fecab2d97445f7dbab /lib/url.c | |
parent | 791937b881177c07c6ab8f151723342b3b9167ce (diff) | |
download | curl-73f52ad7631ca4bd5449e5c4eb17cefcb28edc37.tar.gz |
url.c: remove two variable assigns that are never read
Pointed out by scan-build
Closes #7248
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -3069,8 +3069,6 @@ static CURLcode parse_connect_to_host_port(struct Curl_easy *data, if((endp && *endp) || (portparse < 0) || (portparse > 65535)) { failf(data, "No valid port number in connect to host string (%s)", host_portno); - hostptr = NULL; - port = -1; result = CURLE_SETOPT_OPTION_SYNTAX; goto error; } |