[Cluster-devel] [PATCH] gfs2: Fix unused value warning in do_gfs2_set_flags()

Andreas Gruenbacher agruenba at redhat.com
Wed Oct 13 14:30:32 UTC 2021


Hi Tim,

On Mon, Sep 20, 2021 at 9:12 PM Tim Gardner <tim.gardner at canonical.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




More information about the Cluster-devel mailing list