Fixed lcc compiler warnings.

This commit is contained in:
Dan Fandrich 2005-12-19 19:47:14 +00:00
parent d6eb1a7b98
commit 178afd81a9
2 changed files with 5 additions and 5 deletions

View File

@ -802,13 +802,13 @@ static int hostmatch(const char *hostname, const char *pattern)
if (hostmatch(hostname++,pattern) == HOST_MATCH) if (hostmatch(hostname++,pattern) == HOST_MATCH)
return HOST_MATCH; return HOST_MATCH;
} }
return HOST_NOMATCH; break;
} }
if (toupper(c) != toupper(*hostname++)) if (toupper(c) != toupper(*hostname++))
return HOST_NOMATCH; break;
} }
/* we never reach this point */ return HOST_NOMATCH;
} }
static int static int

View File

@ -366,9 +366,9 @@ static int synchnet(curl_socket_t f /* socket to flush */)
(struct sockaddr *)&from, &fromlen); (struct sockaddr *)&from, &fromlen);
} }
else else
return j; break;
} }
/* we never reach this point */ return j;
} }
/* /*