diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-07 14:26:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-07 18:00:46 +0100 |
commit | a944363d352122250d167072250fe10df6374ddc (patch) | |
tree | 77914922e632632cbf67019961f667d23c405c60 | |
parent | 92c5536cd5a3d1854be7fc0c50664aa6e20465d4 (diff) |
unused return
Change-Id: I1b61151df81c75bf794fbeda967769501026bb05
-rw-r--r-- | hwpfilter/source/hwpeq.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/hwpfilter/source/hwpeq.cxx b/hwpfilter/source/hwpeq.cxx index b1206c88ff9b..3b5e9fcb460c 100644 --- a/hwpfilter/source/hwpeq.cxx +++ b/hwpfilter/source/hwpeq.cxx @@ -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 |