diff options
author | 2012-05-29 22:54:21 -0700 | |
---|---|---|
committer | 2012-05-29 22:54:21 -0700 | |
commit | 987aa1536b762070138ba40485a10e4caac01c48 (patch) | |
tree | 6238e5ba0223f0ed015095414d7281518e0472e1 | |
parent | 719badd135bad4ea52d8c4336ba2bc4541693e5b (diff) | |
parent | 62cd919dca9ef85cdd045b539b3ef85e921c6e4c (diff) | |
download | latinime-987aa1536b762070138ba40485a10e4caac01c48.tar.gz latinime-987aa1536b762070138ba40485a10e4caac01c48.tar.xz latinime-987aa1536b762070138ba40485a10e4caac01c48.zip |
am 62cd919d: Remove a compiler warning.
* commit '62cd919dca9ef85cdd045b539b3ef85e921c6e4c':
Remove a compiler warning.
-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, |