Merge "Fix build" into jb-dev-plus-aosp

This commit is contained in:
Jean-Baptiste Queru 2012-05-16 17:36:52 -07:00 committed by Android (Google) Code Review
commit 669446e055
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ inline static void dumpEditDistance10ForDebug(int *editDistanceTable,
}
AKLOGI("[ %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d ]",
c[0], c[1], c[2], c[3], c[4], c[5], c[6], c[7], c[8], c[9], c[10]);
(void)c;
}
}
}

View File

@ -222,6 +222,7 @@ int UnigramDictionary::getSuggestions(ProximityInfo *proximityInfo,
short unsigned int* w = outWords + j * MAX_WORD_LENGTH;
char s[MAX_WORD_LENGTH];
for (int i = 0; i <= MAX_WORD_LENGTH; i++) s[i] = w[i];
(void)s;
AKLOGI("%s %i", s, frequencies[j]);
}
}