summaryrefslogtreecommitdiff
path: root/block/crypto.h
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2018-06-27 11:57:51 +0800
committerKevin Wolf <kwolf@redhat.com>2018-06-29 14:20:56 +0200
commit354d930dc6e90e97599459b79c071ff1b93e433b (patch)
treee48b869d5921e35ba93ef8f4734a16df9b4812b4 /block/crypto.h
parent93f4e2ff4b31205d8bab0856631a52ed442b8b1c (diff)
downloadqemu-354d930dc6e90e97599459b79c071ff1b93e433b.zip
qcow2: Remove dead check on !ret
In the beginning of the function, we initialize the local variable to 0, and in the body of the function, we check the assigned values and exit the loop immediately. So here it can never be non-zero. Reported-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/crypto.h')
0 files changed, 0 insertions, 0 deletions