Messages in this thread | | | Date | Thu, 15 Apr 2021 15:21:45 +0200 | From | Willy Tarreau <> | Subject | Re: [PATCH] floppy: remove redundant assignment to variable st |
| |
On Thu, Apr 15, 2021 at 02:00:20PM +0100, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > The variable st is being assigned a value that is never read and > it is being updated later with a new value. The initialization is > redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King <colin.king@canonical.com>
Indeed you're right.
Acked-by: Willy Tarreau <w@1wt.eu>
Willy
| |