From ebf677c8497ee81537f7ce57b165c978511ccde5 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Thu, 24 Aug 2017 10:46:11 +0200 Subject: qapi: drop the sentinel in enum array Now that all usages have been converted to user lookup helpers. Signed-off-by: Marc-André Lureau 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 Message-Id: <1503564371-26090-17-git-send-email-armbru@redhat.com> --- tests/check-qom-proplist.c | 1 - 1 file changed, 1 deletion(-) (limited to 'tests') diff --git a/tests/check-qom-proplist.c b/tests/check-qom-proplist.c index 07e351f950..92898e1520 100644 --- a/tests/check-qom-proplist.c +++ b/tests/check-qom-proplist.c @@ -51,7 +51,6 @@ const QEnumLookup dummy_animal_map = { [DUMMY_FROG] = "frog", [DUMMY_ALLIGATOR] = "alligator", [DUMMY_PLATYPUS] = "platypus", - [DUMMY_LAST] = NULL, }, .size = DUMMY_LAST }; -- cgit v1.2.3-55-g7522