girparser: Add a missing G_GNUC_FALLTHROUGH

This fixes a compiler warning.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>

Helps: #3155
This commit is contained in:
Philip Withnall 2023-10-25 18:38:30 +01:00
parent 9103eae11f
commit 216066d90c

View File

@ -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 ||