diff options
author | 1999-08-30 23:35:50 +0000 | |
---|---|---|
committer | 1999-08-30 23:35:50 +0000 | |
commit | bd95d5cd8e1228ba07dcfd6e34d487bd3650f38b (patch) | |
tree | 49c987825fc0ca79bf160eec3716c0b451a32204 | |
parent | Kill comment about driving up the load average. (diff) | |
download | wireguard-openbsd-bd95d5cd8e1228ba07dcfd6e34d487bd3650f38b.tar.xz wireguard-openbsd-bd95d5cd8e1228ba07dcfd6e34d487bd3650f38b.zip |
-Wall
-rw-r--r-- | games/hunt/huntd/conf.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/games/hunt/huntd/conf.c b/games/hunt/huntd/conf.c index 875debd2cd1..20e85326cdf 100644 --- a/games/hunt/huntd/conf.c +++ b/games/hunt/huntd/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.2 1999/02/01 06:53:55 d Exp $ */ +/* $OpenBSD: conf.c,v 1.3 1999/08/30 23:35:50 d Exp $ */ /* David Leonard <d@openbsd.org>, 1999. Public domain. */ #include <stdio.h> @@ -166,7 +166,6 @@ parse_value(p, kvp, fnm, linep) switch (kvp->type) { case Vint: return parse_int(p, kvp, fnm, linep); - break; case Vchar: case Vstring: case Vdouble: @@ -186,7 +185,6 @@ parse_line(buf, fnm, line) char *word; char *endword; struct kwvar *kvp; - int *varp; char savec; p = buf; @@ -214,7 +212,6 @@ parse_line(buf, fnm, line) } /* match the configuration variable name */ - varp = NULL; savec = *endword; *endword = '\0'; for (kvp = keywords; kvp->kw; kvp++) @@ -264,7 +261,7 @@ load_config(f, fnm) char * fnm; { char buf[BUFSIZ]; - int len; + size_t len; int line; char *p; |