diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 23:00:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 23:00:27 +0300 |
commit | 04bd779deaf42fa14a49ae88d77c06eab0d18512 (patch) | |
tree | 3e8d792a24b21d9d2f8c1b049d5ba6502e14acc8 /src/resources | |
parent | 8fc6f2aa19079bebf52552fc5d0b8527af594a1d (diff) | |
download | plus-04bd779deaf42fa14a49ae88d77c06eab0d18512.tar.gz plus-04bd779deaf42fa14a49ae88d77c06eab0d18512.tar.bz2 plus-04bd779deaf42fa14a49ae88d77c06eab0d18512.tar.xz plus-04bd779deaf42fa14a49ae88d77c06eab0d18512.zip |
Add attribute for hide warning about missing break in MapReader.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/mapreader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp index 497817a7d..d60f18d03 100644 --- a/src/resources/mapreader.cpp +++ b/src/resources/mapreader.cpp @@ -141,6 +141,9 @@ int inflateMemory(unsigned char *restrict const in, { case Z_NEED_DICT: ret = Z_DATA_ERROR; +#ifdef __clang__ + [[clang::fallthrough]]; +#endif case Z_DATA_ERROR: case Z_MEM_ERROR: (void) inflateEnd(&strm); |