diff options
| author | Chen Qun <kuhn.chenqun@huawei.com> | 2020-03-02 21:07:04 +0800 |
|---|---|---|
| committer | Laurent Vivier <laurent@vivier.eu> | 2020-03-09 15:59:31 +0100 |
| commit | 35c9453592944c46bc4f8cd273b9ed54362a50e5 (patch) | |
| tree | 4a5cce40099d2e090a91e93eb836c2301ca9616b /hw/scsi/scsi-disk.c | |
| parent | 2244f2335ea8f3b92cbecbb123dc392570b06e6c (diff) | |
| download | focaccia-qemu-35c9453592944c46bc4f8cd273b9ed54362a50e5.tar.gz focaccia-qemu-35c9453592944c46bc4f8cd273b9ed54362a50e5.zip | |
block/stream: Remove redundant statement in stream_run()
Clang static code analyzer show warning:
block/stream.c:186:9: warning: Value stored to 'ret' is never read
ret = 0;
^ ~
Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200302130715.29440-3-kuhn.chenqun@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/scsi/scsi-disk.c')
0 files changed, 0 insertions, 0 deletions