diff options
author | Peng Wu <alexepico@gmail.com> | 2012-01-09 13:12:53 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-01-09 13:59:21 +0800 |
commit | 18e2714d4c67d55d9c054f8087b297e7862b433f (patch) | |
tree | 44543a31bf8390515f30a00bc0f3d66e3cb8fc01 /src/storage/facade_phrase_table.h | |
parent | 35b1fe95f26dfb0581d7212f61b402091d6c68d2 (diff) | |
download | libpinyin-18e2714d4c67d55d9c054f8087b297e7862b433f.tar.gz libpinyin-18e2714d4c67d55d9c054f8087b297e7862b433f.tar.xz libpinyin-18e2714d4c67d55d9c054f8087b297e7862b433f.zip |
fixes facade_*_table.h
Diffstat (limited to 'src/storage/facade_phrase_table.h')
-rw-r--r-- | src/storage/facade_phrase_table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage/facade_phrase_table.h b/src/storage/facade_phrase_table.h index 913a611..fadf03f 100644 --- a/src/storage/facade_phrase_table.h +++ b/src/storage/facade_phrase_table.h @@ -61,6 +61,7 @@ public: int search(int phrase_length, /* in */ utf16_t phrase[], /* out */ phrase_token_t & token){ int result = SEARCH_NONE; + token = null_token; if (NULL != m_system_phrase_table) result |= m_system_phrase_table->search |