Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jul 2016 04:35:36 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        "Pedro F. Giffuni" <pfg@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r303146 - head/usr.bin/sed
Message-ID:  <20160722043536.GB37437@FreeBSD.org>
In-Reply-To: <201607211417.u6LEHaPR086378@repo.freebsd.org>
References:  <201607211417.u6LEHaPR086378@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 21, 2016 at 02:17:36PM +0000, Pedro F. Giffuni wrote:
> New Revision: 303146
> URL: https://svnweb.freebsd.org/changeset/base/303146
> 
> Log:
>   sed(1): Appease older GCC.

Isn't it also being dictated by style(9) and common sense? :)

./danfe

> Modified:
>   head/usr.bin/sed/process.c
> 
> @@ -97,11 +97,12 @@ process(void)
>  {
>  	struct s_command *cp;
>  	SPACE tspace;
> -	size_t oldpsl = 0;
> +	size_t oldpsl;
>  	char *p;
>  	int oldpsanl;
>  
>  	p = NULL;
> +	oldpsanl = oldpsl = 0;



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