diff options
author | Eric Blake <eblake@redhat.com> | 2015-05-14 06:50:54 -0600 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-05-14 18:21:03 +0200 |
commit | d557344628e32771f07e5b6a2a818ee3d8e7a65f (patch) | |
tree | 498b539e72a7b9086b1070e30aa4fb12738a60cb /qga | |
parent | 849bc5382e42b3b9590c6a50ba30c2fd2450308c (diff) |
qapi: Tidy c_type() logic
c_type() is designed to be called on both string names and on
array designations, so 'name' is a bit misleading because it
operates on more than strings. Also, no caller ever passes
an empty string. Finally, + notation is a bit nicer to read
than '%s' % value for string concatenation.
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions