From 216066d90cd17462ca6de450d331fa7745f9554a Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 25 Oct 2023 18:38:30 +0100 Subject: [PATCH] girparser: Add a missing G_GNUC_FALLTHROUGH This fixes a compiler warning. Signed-off-by: Philip Withnall Helps: #3155 --- girepository/girparser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/girepository/girparser.c b/girepository/girparser.c index d510cf6b4..fe7db953c 100644 --- a/girepository/girparser.c +++ b/girepository/girparser.c @@ -885,6 +885,7 @@ start_function (GMarkupParseContext *context, case STATE_UNION: found = strcmp (element_name, "constructor") == 0; /* fallthrough */ + G_GNUC_FALLTHROUGH; case STATE_INTERFACE: found = (found || strcmp (element_name, "function") == 0 ||