qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 04/18] tests: Clean up initialization of Error *err variab


From: Eric Blake
Subject: Re: [PATCH v2 04/18] tests: Clean up initialization of Error *err variables
Date: Wed, 4 Dec 2019 08:27:53 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

On 12/4/19 3:36 AM, Markus Armbruster wrote:
Declaring a local Error *err without initializer looks suspicious.
Fuse the declaration with the initialization to avoid that.

Signed-off-by: Markus Armbruster <address@hidden>
---
  tests/test-qobject-output-visitor.c | 8 ++++----
  tests/test-string-output-visitor.c  | 4 ++--
  2 files changed, 6 insertions(+), 6 deletions(-)


Reviewed-by: Eric Blake <address@hidden>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




reply via email to

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