From bcac59d81b63c352a9073104e7e63838e117a877 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 11 Aug 2005 17:33:43 +0000 Subject: silence various warnings --- src/libhttpd/parse.c | 5 +---- src/libhttpd/parsereq.c | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src/libhttpd') diff --git a/src/libhttpd/parse.c b/src/libhttpd/parse.c index de37f91c..f03e9c32 100644 --- a/src/libhttpd/parse.c +++ b/src/libhttpd/parse.c @@ -348,7 +348,6 @@ mimeok(Hlex *h, char *name, int multipart, HContent *head) } lex(h); } - return head; } /* @@ -387,7 +386,6 @@ mimeetag(Hlex *h, HETag *head) if(lex(h) != ',') return head; } - return head; } /* @@ -840,8 +838,7 @@ top: } return Word; } - goto top; - return 0; + /* not reached */ } /* diff --git a/src/libhttpd/parsereq.c b/src/libhttpd/parsereq.c index 938d0a33..98a88369 100644 --- a/src/libhttpd/parsereq.c +++ b/src/libhttpd/parsereq.c @@ -285,7 +285,6 @@ getword(HConnect *c) } ch = getc(c); } - return nil; } static int -- cgit v1.2.3