Merge pull request #3784 from ajbeamon/fix-switch-statement-fallthrough

Fix fall through in switch statement
This commit is contained in:
Meng Xu 2020-09-17 10:03:17 -07:00 committed by GitHub
commit f9e229ac1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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);
} }