]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/Transaction: add missing break 12202/head
authorSage Weil <sage@redhat.com>
Mon, 28 Nov 2016 19:26:51 +0000 (14:26 -0500)
committerSage Weil <sage@redhat.com>
Mon, 28 Nov 2016 19:29:14 +0000 (14:29 -0500)
CID 1395137 (#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/Transaction.cc

index 8d457f115af2ce2acf76d14aa80559c3e266b1af..b07183c61d2ebe09c296f05853bc99386e30cb2d 100644 (file)
@@ -415,6 +415,7 @@ void ObjectStore::Transaction::dump(ceph::Formatter *f)
        f->dump_stream("old_oid") << old_oid;
        f->dump_stream("new_oid") << new_oid;
       }
+      break;
        
     case Transaction::OP_SETALLOCHINT:
       {