summaryrefslogtreecommitdiff
path: root/content/handlers/image
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2024-03-05 08:29:15 +0000
committerVincent Sanders <vince@kyllikki.org>2024-03-05 21:33:13 +0000
commitb5f4d905f958ebfce9be2ab8daa5d42b62f7277d (patch)
tree2d2b35635858274945de6ac503221877c9ceae21 /content/handlers/image
parent199f86dcf10bc62b9428f012381e32728bff3014 (diff)
downloadnetsurf-b5f4d905f958ebfce9be2ab8daa5d42b62f7277d.tar.gz
netsurf-b5f4d905f958ebfce9be2ab8daa5d42b62f7277d.tar.bz2
use attributes to indicate switch fall through instead of comments
Diffstat (limited to 'content/handlers/image')
-rw-r--r--content/handlers/image/webp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/image/webp.c b/content/handlers/image/webp.c
index da13316bc..c04c0efd2 100644
--- a/content/handlers/image/webp.c
+++ b/content/handlers/image/webp.c
@@ -142,7 +142,7 @@ webp_cache_convert(struct content *c)
default:
/* WebP has no ABGR function, fall back to default. */
webp_fmt.layout = BITMAP_LAYOUT_R8G8B8A8;
- /* Fall through. */
+ fallthrough;
case BITMAP_LAYOUT_R8G8B8A8:
decoded = WebPDecodeRGBAInto(source_data, source_size, pixels,
rowstride * webpfeatures.height, rowstride);