Doc: Improve the example given for fall throughs. (#11228)

This commit is contained in:
Joan Josep 2023-08-25 12:56:11 +02:00 committed by GitHub
parent 9aef380c99
commit ead5284476
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ switch (a) {
case 1:
DoSomething();
/* FALL THROUGH */
FALLTHROUGH;
case 2:
DoMore();
@ -191,7 +191,7 @@ switch (a) {
int r = 2;
DoEvenMore(a);
/* FALL THROUGH */
FALLTHROUGH;
}
case 4: {