Browse Source

fix error: non-void function 'get_feature' should return a value [-Wreturn-type]

pull/1034/head
liangkejin 9 years ago
parent
commit
1b227daf14
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cpuid_arm.c

+ 1
- 1
cpuid_arm.c View File

@@ -74,7 +74,7 @@ int get_feature(char *search)
fclose(infile);


if( p == NULL ) return;
if( p == NULL ) return 0;

t = strtok(p," ");
while( t = strtok(NULL," "))


Loading…
Cancel
Save