summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@gnome.org>2023-12-04 13:10:29 +0000
committerPhilip Withnall <pwithnall@gnome.org>2023-12-04 13:12:21 +0000
commitfc109b016b761725990c80dfcc6834d48d73ae0b (patch)
tree1b0e9278ec1d9349f8f4a693057a9ff020d00df7
parente49441193fca83305e3c03ffa8c66d64f147d1d4 (diff)
test-mime-data: Explicitly mark switch fallthroughs
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
-rw-r--r--src/test-mime-data.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test-mime-data.c b/src/test-mime-data.c
index f8dbe1e..3ec1589 100644
--- a/src/test-mime-data.c
+++ b/src/test-mime-data.c
@@ -238,15 +238,15 @@ read_from_file (const char *filename)
{
default:
printf ("%s.%d: Extra flags are ignored\n", filename, lineno);
- /* Fall thu */
+ __attribute__((fallthrough));
case 3:
if (flags[2] == 'x')
xfail_file = 1;
- /* Fall thu */
+ __attribute__((fallthrough));
case 2:
if (flags[1] == 'x')
xfail_data = 1;
- /* Fall thu */
+ __attribute__((fallthrough));
case 1:
if (flags[0] == 'x')
xfail_name = 1;