On 2/24/20 9:09 PM, kuhn.chen...@huawei.com wrote: > From: Chen Qun <kuhn.chen...@huawei.com> > > 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.ro...@huawei.com> > Signed-off-by: Chen Qun <kuhn.chen...@huawei.com> > --- > Cc: John Snow <js...@redhat.com> > Cc: Kevin Wolf <kw...@redhat.com> > Cc: Max Reitz <mre...@redhat.com> > Cc: qemu-bl...@nongnu.org > --- > block/stream.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/block/stream.c b/block/stream.c > index 5562ccbf57..d78074ac80 100644 > --- a/block/stream.c > +++ b/block/stream.c > @@ -183,7 +183,6 @@ static int coroutine_fn stream_run(Job *job, Error **errp) > break; > } > } > - ret = 0; > > /* Publish progress */ > job_progress_update(&s->common.job, n); > Reviewed-by: John Snow <js...@redhat.com>
- [PATCH 13/13] monitor/hmp-cmds: Remove redundant s... kuhn.chenqun
- Re: [PATCH 13/13] monitor/hmp-cmds: Remove re... Philippe Mathieu-Daudé
- RE: [PATCH 13/13] monitor/hmp-cmds: Remov... Chenqun (kuhn)
- [PATCH 09/13] dma/xlnx-zdma: Remove redundant stat... kuhn.chenqun
- Re: [PATCH 09/13] dma/xlnx-zdma: Remove redun... Philippe Mathieu-Daudé
- RE: [PATCH 09/13] dma/xlnx-zdma: Remove r... Chenqun (kuhn)
- Re: [PATCH 09/13] dma/xlnx-zdma: Remo... Philippe Mathieu-Daudé
- RE: [PATCH 09/13] dma/xlnx-zdma: ... Chenqun (kuhn)
- [PATCH 08/13] display/blizzard: Remove redundant s... kuhn.chenqun
- [PATCH 01/13] block/stream: Remove redundant state... kuhn.chenqun
- Re: [PATCH 01/13] block/stream: Remove redund... John Snow
- [PATCH 05/13] scsi/scsi-disk: Remove redundant sta... kuhn.chenqun
- [PATCH 02/13] block/iscsi:Remove redundant stateme... kuhn.chenqun
- [PATCH 11/13] timer/exynos4210_mct: Remove redunda... kuhn.chenqun