Fix debug compilation + small cleanup
Change-Id: Ia89d84f62ba38dee05d25fbc94698e889cf27d2cmain
parent
ee396df162
commit
fec6837ae1
|
@ -30,7 +30,6 @@ BigramDictionary::BigramDictionary(const unsigned char *dict, int maxWordLength,
|
||||||
: DICT(dict), MAX_WORD_LENGTH(maxWordLength), mParentDictionary(parentDictionary) {
|
: DICT(dict), MAX_WORD_LENGTH(maxWordLength), mParentDictionary(parentDictionary) {
|
||||||
if (DEBUG_DICT) {
|
if (DEBUG_DICT) {
|
||||||
AKLOGI("BigramDictionary - constructor");
|
AKLOGI("BigramDictionary - constructor");
|
||||||
AKLOGI("Has Bigram : %d", hasBigram);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -58,8 +58,6 @@ class Dictionary {
|
||||||
static int wideStrLen(unsigned short *str);
|
static int wideStrLen(unsigned short *str);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool hasBigram();
|
|
||||||
|
|
||||||
const unsigned char *mDict;
|
const unsigned char *mDict;
|
||||||
|
|
||||||
// Used only for the mmap version of dictionary loading, but we use these as dummy variables
|
// Used only for the mmap version of dictionary loading, but we use these as dummy variables
|
||||||
|
|
Loading…
Reference in New Issue