Re: [PATCH-for-5.0 v2 11/11] hw/scsi/esp-pci: Remove dead assignment

2020-03-23 Thread Laurent Vivier
Le 21/03/2020 à 15:41, Philippe Mathieu-Daudé a écrit : > Fix warning reported by Clang static code analyzer: > > CC hw/scsi/esp-pci.o > hw/scsi/esp-pci.c:198:9: warning: Value stored to 'size' is never read > size = 4; > ^ ~ > > Reported-by: Clang Static Analy

[PATCH-for-5.0 v2 11/11] hw/scsi/esp-pci: Remove dead assignment

2020-03-21 Thread Philippe Mathieu-Daudé
Fix warning reported by Clang static code analyzer: CC hw/scsi/esp-pci.o hw/scsi/esp-pci.c:198:9: warning: Value stored to 'size' is never read size = 4; ^ ~ Reported-by: Clang Static Analyzer Signed-off-by: Philippe Mathieu-Daudé --- hw/scsi/esp-pci.c | 1 -