qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] misc: Remove unused Error variables


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] misc: Remove unused Error variables
Date: Wed, 30 Aug 2017 11:59:41 +0100
User-agent: Mutt/1.8.3 (2017-05-23)

On Tue, Aug 29, 2017 at 03:08:36PM +0300, Alberto Garcia wrote:
> There's a few cases which we're passing an Error pointer to a function
> only to discard it immediately afterwards without checking it. In
> these cases we can simply remove the variable and pass NULL instead.
> 
> Signed-off-by: Alberto Garcia <address@hidden>
> ---
>  block/qcow.c  | 12 +++---------
>  block/qcow2.c |  8 ++------
>  dump.c        |  4 +---
>  3 files changed, 6 insertions(+), 18 deletions(-)

Thanks, applied to my block-next tree:
https://github.com/stefanha/qemu/commits/block-next

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]