summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jail
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2011-06-20 07:58:44 +0000
committerjamie <jamie@FreeBSD.org>2011-06-20 07:58:44 +0000
commit6a72e94c3019b6332e3ceed20230b005217aaa55 (patch)
treef8f8176876b7a1667542d4319c8cfdd8597d4c65 /usr.sbin/jail
parentb3870a12d7efae3649e1a6c7496069c521524a0b (diff)
downloadFreeBSD-src-6a72e94c3019b6332e3ceed20230b005217aaa55.zip
FreeBSD-src-6a72e94c3019b6332e3ceed20230b005217aaa55.tar.gz
Linty stuff.
Diffstat (limited to 'usr.sbin/jail')
-rw-r--r--usr.sbin/jail/command.c3
-rw-r--r--usr.sbin/jail/config.c3
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;
OpenPOWER on IntegriCloud