diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/storage/pinyin_parser2.cpp | 2 | ||||
-rw-r--r-- | src/storage/pinyin_parser2.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp index 6884f8a..d6fd8a6 100644 --- a/src/storage/pinyin_parser2.cpp +++ b/src/storage/pinyin_parser2.cpp @@ -444,6 +444,7 @@ bool FullPinyinParser2::set_scheme(PinyinScheme scheme){ return true; } +#if 0 static const char * pinyin_symbols[27] = { "a", "b", "c", "d", "e", "f", "g", @@ -472,6 +473,7 @@ bool FullPinyinParser2::in_chewing_scheme(pinyin_option_t options, return false; } +#endif /* the chewing string must be freed with g_free. */ static bool search_chewing_symbols(const chewing_symbol_item_t * symbol_table, diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h index 1cc6e2c..df693f9 100644 --- a/src/storage/pinyin_parser2.h +++ b/src/storage/pinyin_parser2.h @@ -143,7 +143,6 @@ public: public: bool set_scheme(PinyinScheme scheme); - bool in_chewing_scheme(pinyin_option_t options, const char key, const char ** symbol) const; }; |