Cleanup: Compiler warnings with COM_TM_NOTHREAD active.

This commit is contained in:
Jeroen Bakker 2021-03-12 13:32:18 +01:00
parent 583df9a5f8
commit 7388f9df71
1 changed files with 2 additions and 2 deletions

View File

@ -190,10 +190,10 @@ bool WorkScheduler::has_gpu_devices()
# ifdef COM_OPENCL_ENABLED
return !g_work_scheduler.gpu_devices.empty();
# else
return 0;
return false;
# endif
#else
return 0;
return false;
#endif
}