]> git.proxmox.com Git - mirror_qemu.git/commit
hmp: drop Error pointer indirection in hmp_handle_error
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 5 Dec 2019 17:46:18 +0000 (20:46 +0300)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 18 Dec 2019 07:36:16 +0000 (08:36 +0100)
commit187c614767cdb3407bc67acf77b9b1a0d985a39d
tree67fb2937afba0a5c40fcd6f3954ed62d8f6c6429
parent49fbc7236dd203f9c6afa87454f603a9236a0b3b
hmp: drop Error pointer indirection in hmp_handle_error

We don't need Error **, as all callers pass local Error object, which
isn't used after the call. Use Error * instead.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20191205174635.18758-5-vsementsov@virtuozzo.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
dump/dump-hmp-cmds.c
hw/core/machine-hmp-cmds.c
include/monitor/hmp.h
monitor/hmp-cmds.c
qdev-monitor.c
qom/qom-hmp-cmds.c