Re: [Qemu-devel] [PATCH 04/10] qapi: shortcut visits on errors

2012-03-22 Thread Anthony Liguori
On 03/22/2012 06:51 AM, Paolo Bonzini wrote: We can exit very soon if we enter a visitor with a preexisting error. This simplifies some cases because we will not have to deal with obj being non-NULL while *obj is NULL. Signed-off-by: Paolo Bonzini Reviewed-by: Anthony Liguori Regards, Antho

[Qemu-devel] [PATCH 04/10] qapi: shortcut visits on errors

2012-03-22 Thread Paolo Bonzini
We can exit very soon if we enter a visitor with a preexisting error. This simplifies some cases because we will not have to deal with obj being non-NULL while *obj is NULL. Signed-off-by: Paolo Bonzini --- scripts/qapi-visit.py |9 + 1 files changed, 9 insertions(+), 0 deletions(-)