[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHc6FU6Zn7L1p0yeQHepk5+T_YQz3dpPa26dxXiAtr=nOoXeFA@mail.gmail.com>
Date: Wed, 13 Oct 2021 16:30:32 +0200
From: Andreas Gruenbacher <agruenba@...hat.com>
To: Tim Gardner <tim.gardner@...onical.com>
Cc: cluster-devel <cluster-devel@...hat.com>,
Bob Peterson <rpeterso@...hat.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gfs2: Fix unused value warning in do_gfs2_set_flags()
Hi Tim,
On Mon, Sep 20, 2021 at 9:12 PM Tim Gardner <tim.gardner@...onical.com> wrote:
> Coverity complains of an unused value:
>
> CID 119623 (#1 of 1): Unused value (UNUSED_VALUE)
> assigned_value: Assigning value -1 to error here, but that stored value is
> overwritten before it can be used.
> 237 error = -EPERM;
>
> Fix it by removing the assignment.
pushed to for-next.
Thanks,
Andreas
Powered by blists - more mailing lists