[PATCH] FC: cifs: Initialized an uninitialized variable

Al Viro viro at ZenIV.linux.org.uk
Mon Mar 7 21:26:02 MST 2011

On Mon, Mar 07, 2011 at 08:00:09PM -0800, Vinay Sawal wrote:
> Removed a compile time warning by initializing an uninitialized variable.

> -	int rc;
> +	int rc = -EFAULT;

Why is that the right thing to do?  Other than "it made the compiler to
STFU, therefore it is Good(tm)", please.

More information about the samba-technical mailing list