diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-09-16 12:01:12 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-09-16 12:01:12 +0000 |
commit | 98c52b895a1b20706274322af2c0cfb87e3a40fa (patch) | |
tree | 880900baa04e70410b9528ffd0b1f6849058e65d /usr.bin | |
parent | 7e6ccf4880b8920fc629ddfced80adb0c7c49f34 (diff) |
remove warnings
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/job.c | 3 | ||||
-rw-r--r-- | usr.bin/make/var.c | 3 | ||||
-rw-r--r-- | usr.bin/make/varmodifiers.c | 4 |
3 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index d2eff2d82ec..b9a6c69e7e4 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: job.c,v 1.64 2007/09/16 10:57:02 espie Exp $ */ +/* $OpenBSD: job.c,v 1.65 2007/09/16 12:01:11 espie Exp $ */ /* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */ /* @@ -429,7 +429,6 @@ static void JobRestart(Job *); static int JobStart(GNode *, int, Job *); static char *JobOutput(Job *, char *, char *, int); static void JobDoOutput(Job *, bool); -static Shell *JobMatchShell(char *); static void JobInterrupt(int, int); static void JobRestartJobs(void); diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c index 785f5fcfa84..04f415230ae 100644 --- a/usr.bin/make/var.c +++ b/usr.bin/make/var.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: var.c,v 1.75 2007/09/16 09:46:14 espie Exp $ */ +/* $OpenBSD: var.c,v 1.76 2007/09/16 12:01:11 espie Exp $ */ /* $NetBSD: var.c,v 1.18 1997/03/18 19:24:46 christos Exp $ */ /* @@ -856,7 +856,6 @@ parse_base_variable_name(const char **pstr, struct Name *name, SymTable *ctxt) bool Var_ParseSkip(const char **pstr, SymTable *ctxt) { - Var *v; const char *str = *pstr; struct Name name; bool result; diff --git a/usr.bin/make/varmodifiers.c b/usr.bin/make/varmodifiers.c index 0e38433db3a..f237f328124 100644 --- a/usr.bin/make/varmodifiers.c +++ b/usr.bin/make/varmodifiers.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: varmodifiers.c,v 1.20 2007/09/16 09:46:14 espie Exp $ */ +/* $OpenBSD: varmodifiers.c,v 1.21 2007/09/16 12:01:11 espie Exp $ */ /* $NetBSD: var.c,v 1.18 1997/03/18 19:24:46 christos Exp $ */ /* @@ -1193,7 +1193,7 @@ LoopGrab(const char **s) } static void * -get_loop(const char **p, SymTable *ctxt, bool err, int endc) +get_loop(const char **p, SymTable *ctxt UNUSED, bool err, int endc) { static struct LoopStuff loop; const char *s; |