[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87r266seg4.fsf@suse.com>
Date: Wed, 31 Jul 2019 12:09:31 +0200
From: Aurélien Aptel <aaptel@...e.com>
To: Colin King <colin.king@...onical.com>,
samba-technical@...ts.samba.org, Steve French <sfrench@...ba.org>,
linux-cifs@...r.kernel.org
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cifs: remove redundant assignment to variable rc
Colin King <colin.king@...onical.com> writes:
> Variable rc is being initialized with a value that is never read
> and rc is being re-assigned a little later on. The assignment is
> redundant and hence can be removed.
I think I would actually rather have rc set to an error by default than
uninitialized. Just my personal opinion.
Cheers,
--
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg)
Powered by blists - more mailing lists