Fixed a few clang-tidy warnings in applib.

This commit is contained in:
Alexander Shaduri
2021-03-03 16:53:22 +04:00
parent e329946213
commit ff3b07a086
15 changed files with 142 additions and 149 deletions
+7 -3
View File
@@ -94,9 +94,13 @@ bool SelfTest::is_supported() const
std::string prop_name;
switch(type_) {
case TestType::immediate_offline: prop_name = "iodc_support"; break;
case TestType::short_test: prop_name = "selftest_support"; break;
case TestType::long_test: prop_name = "selftest_support"; break; // same for short and long
case TestType::immediate_offline:
prop_name = "iodc_support";
break;
case TestType::short_test:
case TestType::long_test: // same for short and long
prop_name = "selftest_support";
break;
case TestType::conveyance: prop_name = "conveyance_support"; break;
}