diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-01-03 15:01:17 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-01-03 15:01:17 +0200 |
commit | 84c9c8b2e9d68d7014e8b3e17e0d6df8efb3215b (patch) | |
tree | fc4a2d5dd3f22b35f32da9e8222ce8227123b7d2 /storage | |
parent | 20fab71b144f85be9e2ccc145d24d257b0e9df7e (diff) | |
download | mariadb-git-84c9c8b2e9d68d7014e8b3e17e0d6df8efb3215b.tar.gz |
Silence some -Wimplicit-fallthrough by proper spelling
Diffstat (limited to 'storage')
-rw-r--r-- | storage/maria/ma_search.c | 14 | ||||
-rw-r--r-- | storage/myisam/mi_search.c | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/storage/maria/ma_search.c b/storage/maria/ma_search.c index d38bc7af26c..5b0e19b1837 100644 --- a/storage/maria/ma_search.c +++ b/storage/maria/ma_search.c @@ -747,11 +747,11 @@ void _ma_kpointer(register MARIA_HA *info, register uchar *buff, my_off_t pos) case 5: mi_int5store(buff,pos); break; #else case 7: *buff++=0; - /* fall trough */ + /* fall through */ case 6: *buff++=0; - /* fall trough */ + /* fall through */ case 5: *buff++=0; - /* fall trough */ + /* fall through */ #endif case 4: mi_int4store(buff,pos); break; case 3: mi_int3store(buff,pos); break; @@ -883,13 +883,13 @@ void _ma_dpointer(MARIA_SHARE *share, uchar *buff, my_off_t pos) case 5: mi_int5store(buff,pos); break; #else case 8: *buff++=0; - /* fall trough */ + /* fall through */ case 7: *buff++=0; - /* fall trough */ + /* fall through */ case 6: *buff++=0; - /* fall trough */ + /* fall through */ case 5: *buff++=0; - /* fall trough */ + /* fall through */ #endif case 4: mi_int4store(buff,pos); break; case 3: mi_int3store(buff,pos); break; diff --git a/storage/myisam/mi_search.c b/storage/myisam/mi_search.c index 01fa10de7a3..be39849afd4 100644 --- a/storage/myisam/mi_search.c +++ b/storage/myisam/mi_search.c @@ -608,11 +608,11 @@ void _mi_kpointer(register MI_INFO *info, register uchar *buff, my_off_t pos) case 5: mi_int5store(buff,pos); break; #else case 7: *buff++=0; - /* fall trough */ + /* fall through */ case 6: *buff++=0; - /* fall trough */ + /* fall through */ case 5: *buff++=0; - /* fall trough */ + /* fall through */ #endif case 4: mi_int4store(buff,pos); break; case 3: mi_int3store(buff,pos); break; @@ -729,13 +729,13 @@ void _mi_dpointer(MI_INFO *info, uchar *buff, my_off_t pos) case 5: mi_int5store(buff,pos); break; #else case 8: *buff++=0; - /* fall trough */ + /* fall through */ case 7: *buff++=0; - /* fall trough */ + /* fall through */ case 6: *buff++=0; - /* fall trough */ + /* fall through */ case 5: *buff++=0; - /* fall trough */ + /* fall through */ #endif case 4: mi_int4store(buff,pos); break; case 3: mi_int3store(buff,pos); break; |