summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-29 02:49:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-29 02:49:47 +0300
commit2f9ed0638f8fd628a323ba902044557c2e31ad28 (patch)
treeb64bfdd343b3d7ed67b0b548dc021e46077c0345
parentf52bcd692b06123a2a25e37e79c270e17b6927fd (diff)
downloadplus-2f9ed0638f8fd628a323ba902044557c2e31ad28.tar.gz
plus-2f9ed0638f8fd628a323ba902044557c2e31ad28.tar.bz2
plus-2f9ed0638f8fd628a323ba902044557c2e31ad28.tar.xz
plus-2f9ed0638f8fd628a323ba902044557c2e31ad28.zip
Add missing attributes CLANG_FALLTHROUGH.
-rw-r--r--src/resources/sdlgfxblitfunc.cpp4
1 files changed, 4 insertions, 0 deletions
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 ); \
}