diff options
author | Eric Blake <eblake@redhat.com> | 2015-09-29 16:21:15 -0600 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-10-12 18:46:50 +0200 |
commit | 18bdbc3ac8b477e160d56aa6ecd6942495ce44d0 (patch) | |
tree | c1d186eb113f2da856120c7880574df34efca228 /scripts/feature_to_c.sh | |
parent | 82ca8e469666b169ccf818a0e36136aee97d7db0 (diff) |
qapi: Simplify gen_visit_fields() error handling
Since we have consolidated all generated code to use 'err' as
the name of the local variable for error detection, we can
simplify the decision on whether to skip error detection (useful
for deallocation paths) to be a boolean.
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <1443565276-4535-18-git-send-email-eblake@redhat.com>
[Change to gen_visit_fields() simplified]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/feature_to_c.sh')
0 files changed, 0 insertions, 0 deletions