From debb2376ee4f0876c0e6cb26e2a02d4fec87acdb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Apr 2016 23:52:17 +0300 Subject: Hide attribute clang::fallthrough in macros. --- src/resources/mapreader.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/resources/mapreader.cpp') diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index d60f18d03..e1383329f 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -141,9 +141,7 @@ int inflateMemory(unsigned char *restrict const in, { case Z_NEED_DICT: ret = Z_DATA_ERROR; -#ifdef __clang__ - [[clang::fallthrough]]; -#endif + CLANG_FALLTHROUGH case Z_DATA_ERROR: case Z_MEM_ERROR: (void) inflateEnd(&strm); -- cgit v1.2.3-70-g09d2