qapi-visit.py: Clean up a sloppy use of field prefix
commit192cca60aec59eda9a36501f03fc9dabf4d66a16
authorMarkus Armbruster <armbru@redhat.com>
Wed, 7 May 2014 07:53:49 +0000 (7 09:53 +0200)
committerLuiz Capitulino <lcapitulino@redhat.com>
Thu, 15 May 2014 18:00:46 +0000 (15 14:00 -0400)
tree1f71f301e6f07731e540173a399a25851a3200f1
parent4fa953f20d418256504d24ea16f1b39791d12e5b
qapi-visit.py: Clean up a sloppy use of field prefix

generate_visit_struct_fields() generates the base type's struct member
name both with and without the field prefix.  Harmless, because the
field prefix is always empty there: only unboxed complex members have
a prefix, and those can't have a base type.

Clean it up anyway.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
scripts/qapi-visit.py