mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01: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:
parent
9103eae11f
commit
216066d90c
@ -885,6 +885,7 @@ start_function (GMarkupParseContext *context,
|
|||||||
case STATE_UNION:
|
case STATE_UNION:
|
||||||
found = strcmp (element_name, "constructor") == 0;
|
found = strcmp (element_name, "constructor") == 0;
|
||||||
/* fallthrough */
|
/* fallthrough */
|
||||||
|
G_GNUC_FALLTHROUGH;
|
||||||
case STATE_INTERFACE:
|
case STATE_INTERFACE:
|
||||||
found = (found ||
|
found = (found ||
|
||||||
strcmp (element_name, "function") == 0 ||
|
strcmp (element_name, "function") == 0 ||
|
||||||
|
Loading…
Reference in New Issue
Block a user