mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-10 21:23:27 +01:00
Merge pull request #3216
5c99608d
Fix coverity issues in performance_tests/main.cpp (h908714124)
This commit is contained in:
commit
38f61ef8e2
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user