Cppcheck: Fixed most issued in rtgui/*

This commit is contained in:
heckflosse
2016-10-04 23:28:19 +02:00
parent 01048ee513
commit 566d4c9822
34 changed files with 247 additions and 261 deletions

View File

@@ -72,9 +72,10 @@ public:
Impl(): nConcurrentThreads(0)
{
int threadCount = 2;
#ifdef _OPENMP
threadCount = omp_get_num_procs();
int threadCount = omp_get_num_procs();
#else
int threadCount = 2;
#endif
threadPool_ = new Glib::ThreadPool(threadCount, 0);