diff options
author | 2012-05-30 14:46:43 +0900 | |
---|---|---|
committer | 2012-05-30 14:46:43 +0900 | |
commit | 62cd919dca9ef85cdd045b539b3ef85e921c6e4c (patch) | |
tree | 081b436c8eb15e72c3050e71d44a21da22255997 | |
parent | 902275cb5d30afa6e31931b990666bf1fab79225 (diff) | |
download | latinime-62cd919dca9ef85cdd045b539b3ef85e921c6e4c.tar.gz latinime-62cd919dca9ef85cdd045b539b3ef85e921c6e4c.tar.xz latinime-62cd919dca9ef85cdd045b539b3ef85e921c6e4c.zip |
Remove a compiler warning.
Change-Id: Id2c949d03a2e38787cbf3c8f99313bcfe8610a1f
-rw-r--r-- | native/jni/src/bigram_dictionary.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/src/bigram_dictionary.cpp b/native/jni/src/bigram_dictionary.cpp index eb4bf8d1a..9ef024dc4 100644 --- a/native/jni/src/bigram_dictionary.cpp +++ b/native/jni/src/bigram_dictionary.cpp @@ -117,7 +117,7 @@ int BigramDictionary::getBigrams(const int32_t *prevWord, int prevWordLength, in do { bigramFlags = BinaryFormat::getFlagsAndForwardPointer(root, &pos); uint16_t bigramBuffer[MAX_WORD_LENGTH]; - int unigramFreq; + int unigramFreq = 0; const int bigramPos = BinaryFormat::getAttributeAddressAndForwardPointer(root, bigramFlags, &pos); const int length = BinaryFormat::getWordAtAddress(root, bigramPos, MAX_WORD_LENGTH, |