Skip to content
Snippets Groups Projects
Commit 76e91cda authored by Chen Qun's avatar Chen Qun Committed by Laurent Vivier
Browse files

block/file-posix: Remove redundant statement in raw_handle_perm_lock()


Clang static code analyzer show warning:
  block/file-posix.c:891:9: warning: Value stored to 'op' is never read
        op = RAW_PL_ABORT;
        ^    ~~~~~~~~~~~~

Reported-by: default avatarEuler Robot <euler.robot@huawei.com>
Signed-off-by: default avatarChen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
Message-Id: <20200302130715.29440-5-kuhn.chenqun@huawei.com>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent 35c94535
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment