Skip to content
Commit e34e6f81 authored by Tim Gardner's avatar Tim Gardner Committed by Andreas Gruenbacher
Browse files

gfs2: Fix unused value warning in do_gfs2_set_flags()



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.

Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
parent 660a6126
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment