Browse Source

Merge pull request #2211 from martin-frbg/arm64_gcc_trivial

Silence two nuisance warnings from gcc
tags/v0.3.7
Martin Kroeker GitHub 6 years ago
parent
commit
c275290ea6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      cpuid_arm64.c

+ 2
- 2
cpuid_arm64.c View File

@@ -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," ")))
{
}



Loading…
Cancel
Save