Fix coverity issues in performance_tests/main.cpp

This commit is contained in:
h908714124 2018-01-31 09:06:50 +01:00
parent ed67e5c001
commit 5c99608d95

View file

@ -75,6 +75,7 @@ std::string glob_to_regex(const std::string &val)
int main(int argc, char** argv) int main(int argc, char** argv)
{ {
TRY_ENTRY();
tools::on_startup(); tools::on_startup();
set_process_affinity(1); set_process_affinity(1);
set_thread_high_priority(); set_thread_high_priority();
@ -172,4 +173,5 @@ int main(int argc, char** argv)
std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl; std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl;
return 0; return 0;
CATCH_ENTRY_L0("main", 1);
} }