diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qapi.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/qapi.py b/scripts/qapi.py index 1aaae8e2f6..d5a113c7d6 100644 --- a/scripts/qapi.py +++ b/scripts/qapi.py @@ -49,7 +49,6 @@ name_case_whitelist = [] enum_types = [] struct_types = [] union_types = [] -events = [] all_names = {} # @@ -756,14 +755,12 @@ def check_command(expr, info): def check_event(expr, info): - global events name = expr['event'] boxed = expr.get('boxed', False) meta = ['struct'] if boxed: meta += ['union', 'alternate'] - events.append(name) check_type(info, "'data' for event '%s'" % name, expr.get('data'), allow_dict=not boxed, allow_optional=True, allow_metas=meta) |