Kaydet (Commit) a944363d authored tarafından Caolán McNamara's avatar Caolán McNamara

unused return

Change-Id: I1b61151df81c75bf794fbeda967769501026bb05
üst 92c5536c
......@@ -402,8 +402,7 @@ static const hwpeq *lookup_eqn(char *str)
}
/* 첫자만 대문자이거나 전부 대문자면 소문자로 바꾼다. */
static char *make_keyword( char *keyword, const char *token)
void make_keyword( char *keyword, const char *token)
{
assert(keyword);
char *ptr;
......@@ -415,9 +414,8 @@ static char *make_keyword( char *keyword, const char *token)
else
strcpy(keyword, token);
if( (token[0] & 0x80) || islower(token[0]) ||
strlen(token) < 2 )
return keyword;
if( (token[0] & 0x80) || islower(token[0]) || strlen(token) < 2 )
return;
int capital = isupper(keyword[1]);
for( ptr = keyword + 2; *ptr && result; ptr++ )
......@@ -434,7 +432,7 @@ static char *make_keyword( char *keyword, const char *token)
ptr++;
}
}
return keyword;
return;
}
// token reading function
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment