aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-03-22 12:51:06 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2012-03-27 09:13:57 -0300
commitb6f0474fc0fe6f81d93d620a5d24bc30b22d561b (patch)
treec91eb419098ef4529f497f0db7af77c51ef4f91e /scripts/qapi.py
parent8b714d3747e6870db85dd9382adb8ee371633092 (diff)
qapi: shortcut visits on errors
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 <pbonzini@redhat.com> Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions