aboutsummaryrefslogtreecommitdiff
path: root/src/libhttpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhttpd')
-rw-r--r--src/libhttpd/parse.c5
-rw-r--r--src/libhttpd/parsereq.c1
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