Merge pull request #3952 from martin-frbg/cleanup3936

Avoid unused variable warning in non-OpenMP builds
This commit is contained in:
Martin Kroeker 2023-03-22 09:00:14 +01:00 committed by GitHub
commit dac2d7aef0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -138,9 +138,9 @@ typedef struct blas_queue {
extern int blas_server_avail;
static __inline int num_cpu_avail(int level) {
int openmp_nthreads;
#ifdef USE_OPENMP
int openmp_nthreads;
if (blas_num_threads_set == 0)
openmp_nthreads=omp_get_max_threads();
else