From owner-cvs-all Fri Sep 20 21: 2:52 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2EB8B37B404; Fri, 20 Sep 2002 21:02:51 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E4C643E6E; Fri, 20 Sep 2002 21:02:50 -0700 (PDT) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id AF4AA9E5B; Fri, 20 Sep 2002 23:56:06 -0400 (EDT) Date: Fri, 20 Sep 2002 23:56:06 -0400 From: Mike Barcroft To: Eric Melville 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> References: <200209201940.g8KJeNqj059268@freefall.freebsd.org> <20020920194544.A51443@espresso.q9media.com> <20020920182706.A32662@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020920182706.A32662@FreeBSD.org>; from eric@FreeBSD.org on Fri, Sep 20, 2002 at 06:27:06PM -0700 Organization: The FreeBSD Project Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Eric Melville 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