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

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