1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

remove some compiler warnings

This commit is contained in:
Stefan Lankes 2015-09-08 08:54:27 +02:00
parent 80559dfa2a
commit 9d5783ee8b

View file

@ -64,7 +64,9 @@ unsigned
gomp_dynamic_max_threads (void)
{
unsigned n_onln, loadavg;
#ifndef __hermit__
unsigned nthreads_var = gomp_icv (false)->nthreads_var;
#endif
#ifdef __hermit__
n_onln = get_num_cpus();