diff options
author | Peng Huang <shawn.p.huang@gmail.com> | 2012-05-23 08:01:43 -0400 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2012-05-23 08:01:43 -0400 |
commit | b2dd07991eba77c56c12920182e8c9d5553b612f (patch) | |
tree | c78d471bd02b58fb452cfe614cdf921ea4bf817a | |
parent | 36e1b9fee8bef42ca7d378c86310a0548500d769 (diff) | |
download | ibus-pinyin-b2dd07991eba77c56c12920182e8c9d5553b612f.tar.gz |
Fix a build warning.
BUG=None
TEST=build
Review URL: https://codereview.appspot.com/6220068
-rw-r--r-- | src/PYPinyinParser.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PYPinyinParser.cc b/src/PYPinyinParser.cc index 5114606..fe56c7a 100644 --- a/src/PYPinyinParser.cc +++ b/src/PYPinyinParser.cc @@ -306,7 +306,7 @@ PinyinParser::parseBopomofo (const std::wstring &bopomofo, { std::wstring::const_iterator bpmf = bopomofo.begin(); const std::wstring::const_iterator end = bpmf + len; - const Pinyin **bs_res; + const Pinyin **bs_res = NULL; wchar_t buf[MAX_BOPOMOFO_LEN + 1]; guint i, j; |