]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/ObjectStore: add missing break
authorSage Weil <sage@redhat.com>
Mon, 28 Nov 2016 19:24:57 +0000 (14:24 -0500)
committerSage Weil <sage@redhat.com>
Mon, 28 Nov 2016 19:29:13 +0000 (14:29 -0500)
CID 1394998 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: The case for value ObjectStore::Transaction::OP_TRY_RENAME is not terminated by a 'break' statement.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/ObjectStore.h

index 87cc5aca3d5ea08522bf5a32d759cf56a2774183..586ccb7115cbe7cb19be52f59d59467cf9cc502c 100644 (file)
@@ -690,6 +690,7 @@ public:
         op->cid = cm[op->cid];
         op->oid = om[op->oid];
         op->dest_oid = om[op->dest_oid];
+       break;
 
       case OP_SPLIT_COLLECTION2:
         assert(op->cid < cm.size());