Skip to content

Commit 0e2e553

Browse files
committed
crnlib: no need to set default g_number_of_processors to default
1 parent 461ff37 commit 0e2e553

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crnlib/crn_threading_pthreads.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ void crn_threading_init() {
3333
g_number_of_processors = math::maximum<int>(1, sysconf(_SC_NPROCESSORS_ONLN));
3434
#elif defined(__GNUC__)
3535
g_number_of_processors = math::maximum<int>(1, get_nprocs());
36-
#else
37-
g_number_of_processors = 1;
3836
#endif
3937
g_number_of_processors = math::minimum<int>(g_number_of_processors, task_pool::cMaxThreads);
4038
}

0 commit comments

Comments
 (0)