summary refs log tree commit diff stats
path: root/block/commit.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-02-15 17:15:55 +0100
committerKevin Wolf <kwolf@redhat.com>2020-02-18 10:53:56 +0100
commit5b1405db0fbe4c2600dbaa1a340110a3aecef173 (patch)
tree45fb22c94ee9ca37e7ecb2a9257fa94a08feae96 /block/commit.c
parenta0cf8daf77548786ced84d773f06fc70571c5d38 (diff)
downloadfocaccia-qemu-5b1405db0fbe4c2600dbaa1a340110a3aecef173.tar.gz
focaccia-qemu-5b1405db0fbe4c2600dbaa1a340110a3aecef173.zip
block/qcow2-bitmap: Remove unneeded variable assignment
Fix warning reported by Clang static code analyzer:

    CC      block/qcow2-bitmap.o
  block/qcow2-bitmap.c:650:5: warning: Value stored to 'ret' is never read
      ret = -EINVAL;
      ^     ~~~~~~~

Fixes: 88ddffae8
Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200215161557.4077-2-philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions