mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-25 22:42:17 +02:00
Use G_GNUC_FALLTHROUGH where appropriate
This commit is contained in:
@@ -210,10 +210,7 @@ token_stream_prepare (TokenStream *stream)
|
||||
break;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
/* ↓↓↓ */
|
||||
}
|
||||
G_GNUC_FALLTHROUGH;
|
||||
|
||||
case 'a': /* 'b' */ case 'c': case 'd': case 'e': case 'f':
|
||||
case 'g': case 'h': case 'i': case 'j': case 'k': case 'l':
|
||||
@@ -1646,6 +1643,8 @@ string_parse (TokenStream *stream,
|
||||
case '\n': i++; continue;
|
||||
}
|
||||
|
||||
G_GNUC_FALLTHROUGH;
|
||||
|
||||
default:
|
||||
str[j++] = token[i++];
|
||||
}
|
||||
@@ -1773,6 +1772,8 @@ bytestring_parse (TokenStream *stream,
|
||||
case '\n': i++; continue;
|
||||
}
|
||||
|
||||
G_GNUC_FALLTHROUGH;
|
||||
|
||||
default:
|
||||
str[j++] = token[i++];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user