Make devd WARNS=4 clean and bump WARNS accordingly. This will insure

that future variable shadowing bugs don't compile.

Reviewed by:	imp
Compiled on:	alpha i386 sparc64
This commit is contained in:
brooks 2005-10-19 21:21:22 +00:00
parent a3d0544135
commit 046511ce88
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
PROG_CXX=devd
SRCS= devd.cc token.l parse.y y.tab.h
MAN= devd.8 devd.conf.5
WARNS?= 1
WARNS?= 4
NO_SHARED?=YES

View File

@ -194,7 +194,7 @@ match::do_match(config &c)
#include <net/if.h>
#include <net/if_media.h>
media::media(config &c, const char *var, const char *type)
media::media(config &, const char *var, const char *type)
: _var(var), _type(-1)
{
static struct ifmedia_description media_types[] = {
@ -585,7 +585,7 @@ config::find_and_execute(char type)
{
vector<event_proc *> *l;
vector<event_proc *>::const_iterator i;
char *s;
const char *s;
switch (type) {
default: