From 652f5225fbf44e7be8062bb31e3bfd8a70f2344c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Dec 2017 08:21:33 +0300 Subject: Remove clang attributes from sdlgfxblitfunc.cpp And disable fallthrough warnings in clang 6.0 because it broken. --- src/resources/sdlgfxblitfunc.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/resources/sdlgfxblitfunc.cpp b/src/resources/sdlgfxblitfunc.cpp index 09843f568..d5e3268c7 100644 --- a/src/resources/sdlgfxblitfunc.cpp +++ b/src/resources/sdlgfxblitfunc.cpp @@ -45,13 +45,9 @@ 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