diff options
author | Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | 2017-07-15 12:48:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-15 12:48:42 +0200 |
commit | 80373ea03944574c5006812afc0ff2827716ba44 (patch) | |
tree | 40dad8bc18810c1788ecf23bbb7b86f3527eb04e | |
parent | d12b75a6c480020c8b3375d98559f5e3e6b53c3d (diff) | |
download | openblas-80373ea03944574c5006812afc0ff2827716ba44.tar.gz openblas-80373ea03944574c5006812afc0ff2827716ba44.tar.bz2 openblas-80373ea03944574c5006812afc0ff2827716ba44.zip |
More fixes for silly misedits
-rw-r--r-- | driver/others/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/driver/others/init.c b/driver/others/init.c index 221404ee1..4c75d72e4 100644 --- a/driver/others/init.c +++ b/driver/others/init.c @@ -778,8 +778,11 @@ static int initialized = 0; void gotoblas_affinity_init(void) { int cpu, num_avail; +#ifndef USE_OPENMP cpu_set_t cpu_mask; - +#endif + int i; + if (initialized) return; initialized = 1; @@ -826,7 +829,6 @@ void gotoblas_affinity_init(void) { cpu_set_t *cpusetp; int nums; int ret; - int i; #ifdef DEBUG fprintf(stderr, "Shared Memory Initialization.\n"); |