mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
qapi: drop the sentinel in enum array
Now that all usages have been converted to user lookup helpers. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20170822132255.23945-14-marcandre.lureau@redhat.com> [Rebased, superfluous local variable dropped, missing check-qom-proplist.c update added] Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1503564371-26090-17-git-send-email-armbru@redhat.com>
This commit is contained in:
parent
f7abe0ecd4
commit
ebf677c849
3 changed files with 1 additions and 5 deletions
|
@ -72,7 +72,6 @@ static QEnumLookup prealloc_mode_lookup = {
|
|||
.array = (const char *const[]) {
|
||||
"falloc",
|
||||
"truncate",
|
||||
NULL,
|
||||
},
|
||||
.size = PRL_PREALLOC_MODE__MAX
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue