Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 23:56:06 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Eric Melville <eric@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/sed process.c
Message-ID:  <20020920235606.B51443@espresso.q9media.com>
In-Reply-To: <20020920182706.A32662@FreeBSD.org>; from eric@FreeBSD.org on Fri, Sep 20, 2002 at 06:27:06PM -0700
References:  <200209201940.g8KJeNqj059268@freefall.freebsd.org> <20020920194544.A51443@espresso.q9media.com> <20020920182706.A32662@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Eric Melville <eric@FreeBSD.org> writes:
> > >   Log:
> > >   Initialize a variable in order to fix when faced with picky compilers.
> > 
> > Sounds like a compiler bug.  This probably isn't correct for FreeBSD,
> > since the system compiler doesn't have this bug.
> 
> Try -Wall -Werror.

The bug doesn't show up unless -Wuninitialized is specified.  I
thought I tried this before e-mailing you.  In any event, the compiler
is correct, p could have been uninitialized at line 198 (of the latest
rev) in the psl == 0 case.

Best regards,
Mike Barcroft

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?20020920235606.B51443>