diff options
| author | Wenchao Xia | 2014-03-05 03:44:32 +0100 |
|---|---|---|
| committer | Luiz Capitulino | 2014-03-11 14:07:41 +0100 |
| commit | 4b35991a3bd5f9e03333d5b1bd4a7bcf9941aac5 (patch) | |
| tree | 5b41a70e6d38c54dbc357b60dfef9b643114208a /include/exec | |
| parent | qapi script: remember explicitly defined enum values (diff) | |
| download | qemu-4b35991a3bd5f9e03333d5b1bd4a7bcf9941aac5.tar.gz qemu-4b35991a3bd5f9e03333d5b1bd4a7bcf9941aac5.tar.xz qemu-4b35991a3bd5f9e03333d5b1bd4a7bcf9941aac5.zip | |
qapi script: add check for duplicated key
It is bad that same key was specified twice, especially when a union has
two branches with same condition. This patch can prevent it.
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
