Re: [Qemu-devel] [PATCH] sdhci: fix incorrect use of Error *

2018-03-20 Thread Philippe Mathieu-Daudé
Le 20 mars 2018 4:14 PM, "Paolo Bonzini" a écrit : Detected by Coverity (CID 1386072, 1386073, 1386076, 1386077). local_err was unused, and this made the static analyzer unhappy Oops, thanks Paolo! Signed-off-by: Paolo Bonzini --- hw/sd/sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [Qemu-devel] [PATCH] sdhci: fix incorrect use of Error *

2018-03-20 Thread Peter Maydell
On 20 March 2018 at 15:13, Paolo Bonzini wrote: > Detected by Coverity (CID 1386072, 1386073, 1386076, 1386077). local_err > was unused, and this made the static analyzer unhappy. > > Signed-off-by: Paolo Bonzini > --- > hw/sd/sdhci.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)

[Qemu-devel] [PATCH] sdhci: fix incorrect use of Error *

2018-03-20 Thread Paolo Bonzini
Detected by Coverity (CID 1386072, 1386073, 1386076, 1386077). local_err was unused, and this made the static analyzer unhappy. Signed-off-by: Paolo Bonzini --- hw/sd/sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index 1b828b104d..