projects
/
platform
/
upstream
/
libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b16eec3
)
update test_phrase_lookup.cpp
author
Peng Wu
<alexepico@gmail.com>
Tue, 2 Apr 2013 03:04:36 +0000
(11:04 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Tue, 2 Apr 2013 03:04:36 +0000
(11:04 +0800)
tests/lookup/test_phrase_lookup.cpp
patch
|
blob
|
history
diff --git
a/tests/lookup/test_phrase_lookup.cpp
b/tests/lookup/test_phrase_lookup.cpp
index
b4ee19c
..
8746e76
100644
(file)
--- a/
tests/lookup/test_phrase_lookup.cpp
+++ b/
tests/lookup/test_phrase_lookup.cpp
@@
-54,21
+54,8
@@
bool try_phrase_lookup(PhraseLookup * phrase_lookup,
}
int main(int argc, char * argv[]){
- int i = 1;
setlocale(LC_ALL, "");
- /* deal with options. */
- while ( i < argc ){
- if ( strcmp ("--help", argv[i]) == 0 ){
- print_help();
- exit(0);
- } else {
- print_help();
- exit(EINVAL);
- }
- ++i;
- }
-
/* init phrase table */
FacadePhraseTable2 phrase_table;