svn commit: r264986 - head/sys/net

Alexander V. Chernikov melifaro at FreeBSD.org
Tue Apr 29 12:54:02 UTC 2014


On 28.04.2014 12:59, Gleb Smirnoff wrote:
> 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?
Yup. done in r265091.
> 	if (error)
> 		goto bad;
>



More information about the svn-src-head mailing list