Commit 160770fd by Joao Paulo Magalhaes

Fix dropped-style elses.

parent a3108863
......@@ -60,8 +60,7 @@ void ConsoleReporter::PrintHeader(const Run& run) {
for(auto const& c : run.counters) {
str += FormatString(" %10s", c.first.c_str());
}
}
else {
} else {
str += " UserCounters...";
}
}
......@@ -153,8 +152,7 @@ void ConsoleReporter::PrintRunData(const Run& result) {
if (output_options_ & OO_Tabular) {
if (c.second.flags & Counter::kIsRate) {
printer(Out, COLOR_DEFAULT, " %8s/s", s.c_str());
}
else {
} else {
printer(Out, COLOR_DEFAULT, " %10s", s.c_str());
}
} else {
......
......@@ -139,8 +139,7 @@ void CSVReporter::PrintRunData(const Run & run) {
auto it = run.counters.find(ucn);
if(it == run.counters.end()) {
Out << ",";
}
else {
} else {
Out << "," << it->second;
}
}
......
......@@ -237,8 +237,7 @@ void ResultsChecker::CheckResults(std::stringstream& output) {
if(!p.regex->Match(r.name)) {
VLOG(2) << p.regex_str << " is not matched by " << r.name << "\n";
continue;
}
else {
} else {
VLOG(2) << p.regex_str << " is matched by " << r.name << "\n";
}
VLOG(1) << "Checking results of " << r.name << ": ... \n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment