summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-30 04:41:33 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-30 19:34:32 +0300
commit205ed1edc60277c6ae8cc4383ab24535b36f7761 (patch)
treeead2580789153a2e8c62fa0923b2cc4642a5d900 /src/resources
parent3273c8ff0ce9999179b541ee88f210e75cbc0c18 (diff)
downloadplus-205ed1edc60277c6ae8cc4383ab24535b36f7761.tar.gz
plus-205ed1edc60277c6ae8cc4383ab24535b36f7761.tar.bz2
plus-205ed1edc60277c6ae8cc4383ab24535b36f7761.tar.xz
plus-205ed1edc60277c6ae8cc4383ab24535b36f7761.zip
Add some new flags for gcc snapshot and fix new warning.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/mapreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index c4134e106..1427493ea 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -154,6 +154,7 @@ int inflateMemory(unsigned char *restrict const in,
{
case Z_NEED_DICT:
ret = Z_DATA_ERROR;
+ A_FALLTHROUGH
case Z_DATA_ERROR:
case Z_MEM_ERROR:
(void) inflateEnd(&strm);