diff options
author | jamie <jamie@FreeBSD.org> | 2011-06-20 07:58:44 +0000 |
---|---|---|
committer | jamie <jamie@FreeBSD.org> | 2011-06-20 07:58:44 +0000 |
commit | 6a72e94c3019b6332e3ceed20230b005217aaa55 (patch) | |
tree | f8f8176876b7a1667542d4319c8cfdd8597d4c65 /usr.sbin/jail | |
parent | b3870a12d7efae3649e1a6c7496069c521524a0b (diff) | |
download | FreeBSD-src-6a72e94c3019b6332e3ceed20230b005217aaa55.zip FreeBSD-src-6a72e94c3019b6332e3ceed20230b005217aaa55.tar.gz |
Linty stuff.
Diffstat (limited to 'usr.sbin/jail')
-rw-r--r-- | usr.sbin/jail/command.c | 3 | ||||
-rw-r--r-- | usr.sbin/jail/config.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/jail/command.c b/usr.sbin/jail/command.c index fa6a026..b8f7d72 100644 --- a/usr.sbin/jail/command.c +++ b/usr.sbin/jail/command.c @@ -86,7 +86,6 @@ static int kq; int next_command(struct cfjail *j) { - const struct cfstring *comstring; enum intparam comparam; int rval, create_failed; @@ -286,6 +285,8 @@ run_command(struct cfjail *j) } requeue(j, &ready); return 1; + + default: ; } /* * Collect exec arguments. Internal commands for network and diff --git a/usr.sbin/jail/config.c b/usr.sbin/jail/config.c index 3102448..f32500f 100644 --- a/usr.sbin/jail/config.c +++ b/usr.sbin/jail/config.c @@ -288,7 +288,6 @@ add_param(struct cfjail *j, const struct cfparam *p, enum intparam ipnum, struct cfparam *dp, *np; struct cfstring *s, *ns; struct cfvar *v, *nv; - struct ipspec *ips; const char *name; char *cs, *tname; unsigned flags; @@ -432,7 +431,7 @@ check_intparams(struct cfjail *j) struct addrinfo hints; struct addrinfo *ai0, *ai; struct cfparam *p; - struct cfstring *s, *ns; + struct cfstring *s; FILE *f; const char *hostname, *val; char *cs, *ep, *ln; |