projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abea977
)
Silence two nuisance warnings from gcc
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Sun, 11 Aug 2019 10:46:05 +0000
(12:46 +0200)
committer
GitHub
<noreply@github.com>
Sun, 11 Aug 2019 10:46:05 +0000
(12:46 +0200)
cpuid_arm64.c
patch
|
blob
|
history
diff --git
a/cpuid_arm64.c
b/cpuid_arm64.c
index
a5e731d
..
e8aa298
100644
(file)
--- 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," ")
))
{
}