From 2f9ed0638f8fd628a323ba902044557c2e31ad28 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Dec 2017 02:49:47 +0300 Subject: Add missing attributes CLANG_FALLTHROUGH. --- src/resources/sdlgfxblitfunc.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/resources') diff --git a/src/resources/sdlgfxblitfunc.cpp b/src/resources/sdlgfxblitfunc.cpp index d5e3268c7..09843f568 100644 --- a/src/resources/sdlgfxblitfunc.cpp +++ b/src/resources/sdlgfxblitfunc.cpp @@ -45,9 +45,13 @@ PRAGMA48(GCC diagnostic pop) { \ case 0: do { \ pixel_copy_increment; \ + CLANG_FALLTHROUGH \ case 3: pixel_copy_increment; \ + CLANG_FALLTHROUGH \ case 2: pixel_copy_increment; \ + CLANG_FALLTHROUGH \ case 1: pixel_copy_increment; \ + CLANG_FALLTHROUGH \ default: ; \ } while (--n > 0 ); \ } -- cgit v1.2.3-70-g09d2