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:
parent
80559dfa2a
commit
9d5783ee8b
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue