From 1690ba7c0cd3f95f0681152236342a31b2262796 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Sun, 12 Apr 2020 12:40:12 +0200 Subject: Fix compiler warning about variable length field not last in struct. Signed-off-by: Robert C. Helling --- core/load-git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/load-git.c b/core/load-git.c index a372d1186..9e5924ea1 100644 --- a/core/load-git.c +++ b/core/load-git.c @@ -771,8 +771,8 @@ static int get_divemode(const char *divemodestring) { */ struct parse_event { const char *name; - struct event ev; int has_divemode; + struct event ev; }; static void parse_event_keyvalue(void *_parse, const char *key, const char *value) -- cgit v1.2.3-70-g09d2