From 2000a698da35915afb1a598433337a735d27ae24 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Sep 2016 18:21:14 +0300 Subject: Add different fixes for gcc 7 warnings. Some possible buffer overflows. Add attribute for mark fallthrough cases. Skipped libconfig warnings. --- src/map/clif.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/clif.c') diff --git a/src/map/clif.c b/src/map/clif.c index 09e8bbb6b..040f86a58 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -13833,6 +13833,7 @@ void clif_parse_NoviceDoriDori(int fd, struct map_session_data *sd) case MAPID_TAEKWON: if (!sd->state.rest) break; + FALLTHROUGH case MAPID_SUPER_NOVICE: sd->state.doridori=1; break; -- cgit v1.2.3-70-g09d2