Skip to content
Snippets Groups Projects
Commit 3e5ba33e authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

removed two unused variables and added an extra set of parentheses, done

to remove pedantic compiler warnings
parent 9a9013ac
No related branches found
No related tags found
No related merge requests found
......@@ -1160,7 +1160,7 @@ static CURLcode _connect(CURL *curl, CURLconnect **in_connect)
return CURLE_URL_MALFORMAT_USER;
}
#endif
if(ptr=strchr(conn->name, '@')) {
if((ptr=strchr(conn->name, '@'))) {
/* there's a user+password given here, to the left of the @ */
data->user[0] =0;
......@@ -1310,12 +1310,10 @@ static CURLcode _connect(CURL *curl, CURLconnect **in_connect)
#endif
if (data->device && (strlen(data->device)<255)) {
struct ifreq ifr;
struct sockaddr_in sa;
struct hostent *h=NULL;
char *hostdataptr;
size_t size;
unsigned short porttouse;
char myhost[256] = "";
unsigned long in;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment