From: Dan Fandrich Date: Mon, 19 Dec 2005 19:47:14 +0000 (+0000) Subject: Fixed lcc compiler warnings. X-Git-Tag: upstream/7.37.1~10640 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=178afd81a992b651416c9afffaa7200f61edc548;p=platform%2Fupstream%2Fcurl.git Fixed lcc compiler warnings. --- diff --git a/lib/ssluse.c b/lib/ssluse.c index 674477b..fdc540e 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -802,13 +802,13 @@ static int hostmatch(const char *hostname, const char *pattern) if (hostmatch(hostname++,pattern) == HOST_MATCH) return HOST_MATCH; } - return HOST_NOMATCH; + break; } if (toupper(c) != toupper(*hostname++)) - return HOST_NOMATCH; + break; } - /* we never reach this point */ + return HOST_NOMATCH; } static int diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c index da8d571..9562f5a 100644 --- a/tests/server/tftpd.c +++ b/tests/server/tftpd.c @@ -366,9 +366,9 @@ static int synchnet(curl_socket_t f /* socket to flush */) (struct sockaddr *)&from, &fromlen); } else - return j; + break; } - /* we never reach this point */ + return j; } /*