Re: [PATCH] gfs2: Fix unused value warning in do_gfs2_set_flags()
From: Andreas Gruenbacher
Date: Wed Oct 13 2021 - 10:31:06 EST
Hi Tim,
On Mon, Sep 20, 2021 at 9:12 PM Tim Gardner <tim.gardner@xxxxxxxxxxxxx> 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