fix error: non-void function 'get_feature' should return a value [-Wreturn-type]
This commit is contained in:
parent
db3efb2e14
commit
1b227daf14
|
@ -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…
Reference in New Issue