diff options
author | rsc <devnull@localhost> | 2005-08-11 17:33:43 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-08-11 17:33:43 +0000 |
commit | bcac59d81b63c352a9073104e7e63838e117a877 (patch) | |
tree | f8a3ffb635c9d2209d42baf19c85c73eaa2d90db /src/libhttpd | |
parent | 01d1f4cb4b791eca0bc79bc00188bf3c688290e6 (diff) | |
download | plan9port-bcac59d81b63c352a9073104e7e63838e117a877.tar.gz plan9port-bcac59d81b63c352a9073104e7e63838e117a877.tar.bz2 plan9port-bcac59d81b63c352a9073104e7e63838e117a877.zip |
silence various warnings
Diffstat (limited to 'src/libhttpd')
-rw-r--r-- | src/libhttpd/parse.c | 5 | ||||
-rw-r--r-- | src/libhttpd/parsereq.c | 1 |
2 files changed, 1 insertions, 5 deletions
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 |