diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-30 18:21:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-30 20:37:26 +0300 |
commit | 2000a698da35915afb1a598433337a735d27ae24 (patch) | |
tree | 119c8d409657cee1d90cd0c072ef3b7e846fa3f0 /src/map/pc.c | |
parent | 84ecefb4db23bbd98194a43a592cfe313477a1ab (diff) | |
download | hercules-2000a698da35915afb1a598433337a735d27ae24.tar.gz hercules-2000a698da35915afb1a598433337a735d27ae24.tar.bz2 hercules-2000a698da35915afb1a598433337a735d27ae24.tar.xz hercules-2000a698da35915afb1a598433337a735d27ae24.zip |
Add different fixes for gcc 7 warnings.
Some possible buffer overflows.
Add attribute for mark fallthrough cases.
Skipped libconfig warnings.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 51d02ff40..0674f0137 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -11504,7 +11504,7 @@ void pc_autotrade_update(struct map_session_data *sd, enum e_pc_autotrade_update )) Sql_ShowDebug(map->mysql_handle); } - /* yes we want it to fall */ + FALLTHROUGH case PAUC_REFRESH: for( i = 0; i < sd->vend_num; i++ ) { if( sd->vending[i].amount == 0 ) |