aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2002-04-07 17:16:28 +0000
committerJeroen Ruigrok van der Werven <asmodai@FreeBSD.org>2002-04-07 17:16:28 +0000
commit6ef06b5a753aaa8a851226045dd1bbc34e5c0ebf (patch)
tree5924f61e05abb03d6367d8eccde3752e81478b88
parent8c8cd2106979e07ef72b6009c69a254a21d67e60 (diff)
downloadsrc-6ef06b5a753aaa8a851226045dd1bbc34e5c0ebf.tar.gz
src-6ef06b5a753aaa8a851226045dd1bbc34e5c0ebf.zip
Garbage collect unused variables.
PR: 29725 Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
Notes
Notes: svn path=/head/; revision=94132
-rw-r--r--release/picobsd/tinyware/simple_httpd/simple_httpd.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/release/picobsd/tinyware/simple_httpd/simple_httpd.c b/release/picobsd/tinyware/simple_httpd/simple_httpd.c
index 509ae5b2bf9b..99bf89b75d77 100644
--- a/release/picobsd/tinyware/simple_httpd/simple_httpd.c
+++ b/release/picobsd/tinyware/simple_httpd/simple_httpd.c
@@ -191,14 +191,12 @@ log_line(char *req)
*/
http_request()
{
- int fd, lg, ld, i;
+ int fd, lg, i;
int cmd = 0;
- int http1 = 0;
char *p, *par;
char *filename, *c;
struct stat file_status;
char req[1024];
- char msg[1024];
char buff[8192];
lg = read(con_sock, req, 1024);
@@ -351,8 +349,7 @@ main(int argc, char *argv[])
{
extern char *optarg;
extern int optind;
- int bflag, ch, fd, ld;
- int lg;
+ int ch, ld;
int httpd_group = 65534;
pid_t server_pid;