Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 1999 01:13:04 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        wpaul@FreeBSD.ORG (Bill Paul)
Cc:        rnordier@nordier.com, cvs-committers@FreeBSD.ORG, bde@zeta.org.au
Subject:   Re: -Werror
Message-ID:  <199901192313.BAA21072@ceia.nordier.com>
In-Reply-To: <199901192209.OAA14312@hub.freebsd.org> from Bill Paul at "Jan 19, 99 02:09:41 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Paul wrote:
> > Bruce Evans wrote:
> > 
> > > People are already committing code that should be caught by -Werror:
> > > 
> > > ../../netinet/if_ether.c: In function `arpresolve':
../../netinet/if_ether.c:330: warning: `la' might be used uninitialized in this function
> > > `la' _is_ used uninitialized in this function.
> > 
> > Last I heard, folks intent on establishing -Werror as a default
> > option were being threatened with mayhem or worse.
> 
> Last _I_ heard, using an uninitialized variable could also lead to
> mayhem or worse. I think if we apply the Bruce to english translation
> filter, the point here is: "This code is buggy: could whoever mangled
> it last please fix it?"

Hmm.  You're certainly right as far as this error is concerned.

> And no, I won't tell you where I got my Bruce to english filter.

Damn.  Though I won't complain if you send a copy to Bruce. :-)

-- 
Robert Nordier

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901192313.BAA21072>