[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110308042601.GX22723@ZenIV.linux.org.uk>
Date: Tue, 8 Mar 2011 04:26:02 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Vinay Sawal <vinaysawal@...il.com>
Cc: sfrench@...ba.org, linux-cifs@...r.kernel.org,
samba-technical@...ts.samba.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] FC: cifs: Initialized an uninitialized variable
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists