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

This commit is contained in:
liangkejin 2016-12-16 20:52:07 +08:00
parent db3efb2e14
commit 1b227daf14
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ int get_feature(char *search)
fclose(infile); fclose(infile);
if( p == NULL ) return; if( p == NULL ) return 0;
t = strtok(p," "); t = strtok(p," ");
while( t = strtok(NULL," ")) while( t = strtok(NULL," "))