diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-29 02:49:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-29 02:49:47 +0300 |
commit | 2f9ed0638f8fd628a323ba902044557c2e31ad28 (patch) | |
tree | b64bfdd343b3d7ed67b0b548dc021e46077c0345 /src | |
parent | f52bcd692b06123a2a25e37e79c270e17b6927fd (diff) | |
download | plus-2f9ed0638f8fd628a323ba902044557c2e31ad28.tar.gz plus-2f9ed0638f8fd628a323ba902044557c2e31ad28.tar.bz2 plus-2f9ed0638f8fd628a323ba902044557c2e31ad28.tar.xz plus-2f9ed0638f8fd628a323ba902044557c2e31ad28.zip |
Add missing attributes CLANG_FALLTHROUGH.
Diffstat (limited to 'src')
-rw-r--r-- | src/resources/sdlgfxblitfunc.cpp | 4 |
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 ); \ } |