From: Danny Al-Gaaf Date: Tue, 9 Jun 2015 10:10:22 +0000 (+0200) Subject: osd/ECBackend.cc: fix MISSING_BREAK X-Git-Tag: v9.1.0~446^2~35 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=df83eb3af9c876ce00fa7bb6eb28c141b7a2c527;p=ceph.git osd/ECBackend.cc: fix MISSING_BREAK Fix for: CID 1297854 (#1 of 1): Missing break in switch (MISSING_BREAK) unterminated_case: The case for value ECBackend::RecoveryOp::COMPLETE is not terminated by a 'break' statement. Signed-off-by: Danny Al-Gaaf --- diff --git a/src/osd/ECBackend.cc b/src/osd/ECBackend.cc index f51a3d2ca0e..a64c0f2a079 100644 --- a/src/osd/ECBackend.cc +++ b/src/osd/ECBackend.cc @@ -594,11 +594,11 @@ void ECBackend::continue_recovery_op( } return; } - case RecoveryOp::COMPLETE: { - assert(0); // should never be called once complete - }; - default: + // should never be called once complete + case RecoveryOp::COMPLETE: + default: { assert(0); + }; } } }