aboutsummaryrefslogtreecommitdiffstats
path: root/core/load-git.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2020-04-12 12:40:12 +0200
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2020-04-13 09:42:29 +0200
commit1690ba7c0cd3f95f0681152236342a31b2262796 (patch)
tree75a0db3ffde38befef3c45a6150bd21601cedfce /core/load-git.c
parenta537894553698880f09957fe9b423b280d5df444 (diff)
downloadsubsurface-1690ba7c0cd3f95f0681152236342a31b2262796.tar.gz
Fix compiler warning about variable length field not last in struct.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/load-git.c')
-rw-r--r--core/load-git.c2
1 files changed, 1 insertions, 1 deletions
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)