Merge pull request #3784 from ajbeamon/fix-switch-statement-fallthrough
Fix fall through in switch statement
This commit is contained in:
commit
f9e229ac1e
|
@ -93,12 +93,15 @@ struct AtomicOpsWorkload : TestWorkload {
|
||||||
case 8:
|
case 8:
|
||||||
TEST(true); // Testing atomic MinV2
|
TEST(true); // Testing atomic MinV2
|
||||||
opType = MutationRef::MinV2;
|
opType = MutationRef::MinV2;
|
||||||
|
break;
|
||||||
case 9:
|
case 9:
|
||||||
TEST(true); // Testing atomic AndV2
|
TEST(true); // Testing atomic AndV2
|
||||||
opType = MutationRef::AndV2;
|
opType = MutationRef::AndV2;
|
||||||
|
break;
|
||||||
// case 10:
|
// case 10:
|
||||||
// TEST(true); // Testing atomic CompareAndClear Not supported yet
|
// TEST(true); // Testing atomic CompareAndClear Not supported yet
|
||||||
// opType = MutationRef::CompareAndClear
|
// opType = MutationRef::CompareAndClear
|
||||||
|
// break;
|
||||||
default:
|
default:
|
||||||
ASSERT(false);
|
ASSERT(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue