summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-30 23:52:17 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-30 23:52:17 +0300
commitdebb2376ee4f0876c0e6cb26e2a02d4fec87acdb (patch)
tree10bcfbb9f16433f4069fd8d3ed0ffb9cd9b0a67e /src/resources
parent8bcada9f15440284b58355c565df1151bd017f21 (diff)
downloadManaVerse-debb2376ee4f0876c0e6cb26e2a02d4fec87acdb.tar.gz
ManaVerse-debb2376ee4f0876c0e6cb26e2a02d4fec87acdb.tar.bz2
ManaVerse-debb2376ee4f0876c0e6cb26e2a02d4fec87acdb.tar.xz
ManaVerse-debb2376ee4f0876c0e6cb26e2a02d4fec87acdb.zip
Hide attribute clang::fallthrough in macros.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/mapreader.cpp4
1 files changed, 1 insertions, 3 deletions
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);