summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>2019-08-11 12:46:05 +0200
committerGitHub <noreply@github.com>2019-08-11 12:46:05 +0200
commitb7bbb02447ed612e380dc1ca6d6e7a26f48dc868 (patch)
tree7101234129a3f5c7a77746d6d81bd9bef36473eb
parentabea977ded8729c6dcfcfbee51a18eceef8d8440 (diff)
downloadopenblas-b7bbb02447ed612e380dc1ca6d6e7a26f48dc868.tar.gz
openblas-b7bbb02447ed612e380dc1ca6d6e7a26f48dc868.tar.bz2
openblas-b7bbb02447ed612e380dc1ca6d6e7a26f48dc868.zip
Silence two nuisance warnings from gcc
-rw-r--r--cpuid_arm64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpuid_arm64.c b/cpuid_arm64.c
index a5e731d74..e8aa29813 100644
--- a/cpuid_arm64.c
+++ b/cpuid_arm64.c
@@ -94,7 +94,7 @@ int get_feature(char *search)
if( p == NULL ) return 0;
t = strtok(p," ");
- while( t = strtok(NULL," "))
+ while( (t = strtok(NULL," ")))
{
if (!strcmp(t, search)) { return(1); }
}
@@ -344,7 +344,7 @@ void get_features(void)
if( p == NULL ) return;
t = strtok(p," ");
- while( t = strtok(NULL," "))
+ while( (t = strtok(NULL," ")))
{
}