svn commit: r223327 - projects/jailconf/usr.sbin/jail
Jamie Gritton
jamie at FreeBSD.org
Mon Jun 20 07:58:44 UTC 2011
Author: jamie
Date: Mon Jun 20 07:58:44 2011
New Revision: 223327
URL: http://svn.freebsd.org/changeset/base/223327
Log:
Linty stuff.
Modified:
projects/jailconf/usr.sbin/jail/command.c
projects/jailconf/usr.sbin/jail/config.c
Modified: projects/jailconf/usr.sbin/jail/command.c
==============================================================================
--- projects/jailconf/usr.sbin/jail/command.c Mon Jun 20 07:07:18 2011 (r223326)
+++ projects/jailconf/usr.sbin/jail/command.c Mon Jun 20 07:58:44 2011 (r223327)
@@ -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
Modified: projects/jailconf/usr.sbin/jail/config.c
==============================================================================
--- projects/jailconf/usr.sbin/jail/config.c Mon Jun 20 07:07:18 2011 (r223326)
+++ projects/jailconf/usr.sbin/jail/config.c Mon Jun 20 07:58:44 2011 (r223327)
@@ -288,7 +288,6 @@ add_param(struct cfjail *j, const struct
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;
More information about the svn-src-projects
mailing list