svn commit: r264986 - head/sys/net

Gleb Smirnoff glebius at FreeBSD.org
Mon Apr 28 08:59:44 UTC 2014


On Sat, Apr 26, 2014 at 09:03:41PM +0000, Alexander V. Chernikov wrote:
A> @@ -1425,6 +1431,95 @@ bad:
A>  #undef ifpaddr
A>  #undef flags
A>  
A> +#define	senderr(e) { error = e; goto bad; }

...

A> +		if (error != 0)
A> +			senderr(error);

This resolves to "error = error". Surprised that compiler is silent.

Can this line and others like it be replaced with?

	if (error)
		goto bad;

-- 
Totus tuus, Glebius.


More information about the svn-src-head mailing list