Trim else after return

This commit is contained in:
sabrina-shanman 2019-08-26 14:30:47 -07:00
parent 388a70502e
commit ad1a98b85a

View file

@ -544,7 +544,8 @@ TestFilter::TestFilter(const QString& filterString) {
if (foundCategoryIt == propertyToProfileCategory.cend()) {
error = "Invalid test filter property '" + referenceVariant + "'";
return;
} else {
}
ProfileCategory selectedFilterCategory = foundCategoryIt->second;
for (auto allowedVariantIt = ++(allowedVariants.cbegin()); allowedVariantIt != allowedVariants.cend(); ++allowedVariantIt) {
auto& currentVariant = *allowedVariantIt;
@ -573,7 +574,6 @@ TestFilter::TestFilter(const QString& filterString) {
break;
}
}
}
}
bool TestFilter::isValid() const {