mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
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:
@@ -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 ||
|
||||
|
Reference in New Issue
Block a user