diff options
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); |