summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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