diff options
author | asmodai <asmodai@FreeBSD.org> | 2002-04-07 17:16:28 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2002-04-07 17:16:28 +0000 |
commit | dd9f8f3445b56d0626cf3bcc66f3790cb73e60b7 (patch) | |
tree | 5924f61e05abb03d6367d8eccde3752e81478b88 | |
parent | 0a89552c08a28a463d52c436c0618dd12e9d2847 (diff) | |
download | FreeBSD-src-dd9f8f3445b56d0626cf3bcc66f3790cb73e60b7.zip FreeBSD-src-dd9f8f3445b56d0626cf3bcc66f3790cb73e60b7.tar.gz |
Garbage collect unused variables.
PR: 29725
Submitted by: Eugene Grosbein <eugen@svzserv.kemerovo.su>
-rw-r--r-- | release/picobsd/tinyware/simple_httpd/simple_httpd.c | 7 |
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 509ae5b..99bf89b 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; |