svn commit: r303146 - head/usr.bin/sed

Alexey Dokuchaev danfe at FreeBSD.org
Fri Jul 22 04:35:36 UTC 2016


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;


More information about the svn-src-all mailing list