diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-24 09:35:58 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-24 09:35:58 +0000 |
commit | bc58e5d7345217fa0fbfa0d9c577ee10c7bd94db (patch) | |
tree | e76c9d1daa7b18f9383200459afe40804af83dbf /storage | |
parent | 737979601f25ace7e5444dd3c925329c5a0a8b6d (diff) |
Add [[falltrhough]] for gcc 7
Diffstat (limited to 'storage')
-rw-r--r-- | storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp index e42434c0e9c..5defe2c5ae8 100644 --- a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp +++ b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp @@ -868,6 +868,7 @@ FileStorHandlerImpl::remapMessage( } // Follow onto next to move queue or fail } + [[fallthrough]]; case api::MessageType::SPLITBUCKET_ID: // Move to correct queue if op == MOVE // Fail with bucket not found if op is JOIN @@ -954,6 +955,7 @@ FileStorHandlerImpl::remapMessage( break; case GetIterCommand::ID: bucket = static_cast<GetIterCommand&>(msg).getBucketId(); + [[fallthrough]]; case RepairBucketCommand::ID: if (bucket.getRawId() == 0) { bucket = static_cast<RepairBucketCommand&>(msg) |