Re: [PATCH v8 05/21] vnc: drop Error pointer indirection in vnc_client_io_error

2019-12-06 Thread Philippe Mathieu-Daudé
On 12/5/19 6:46 PM, Vladimir Sementsov-Ogievskiy wrote: We don't need Error **, as all callers pass local Error object, which isn't used after the call, or NULL. Use Error * instead. Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Markus Armbruster Reviewed-by: Philippe Mathieu-Daud

[PATCH v8 05/21] vnc: drop Error pointer indirection in vnc_client_io_error

2019-12-05 Thread Vladimir Sementsov-Ogievskiy
We don't need Error **, as all callers pass local Error object, which isn't used after the call, or NULL. Use Error * instead. Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Markus Armbruster --- ui/vnc.h | 2 +- ui/vnc.c | 20 +++- 2 files changed, 8 insertions(+), 1