Cleanup unused function

Change-Id: Ic0895e1973b3879b2a63f7e0b888e9a0480be6f3
main
Tadashi G. Takaoka 2011-10-27 19:58:46 +09:00
parent 49998fc7d3
commit d862b93578
1 changed files with 0 additions and 6 deletions

View File

@ -253,12 +253,6 @@ void UnigramDictionary::initSuggestions(ProximityInfo *proximityInfo, const int
mProximityInfo = proximityInfo;
}
static inline void registerNextLetter(unsigned short c, int *nextLetters, int nextLettersSize) {
if (c < nextLettersSize) {
nextLetters[c]++;
}
}
// TODO: We need to optimize addWord by using STL or something
// TODO: This needs to take an const unsigned short* and not tinker with its contents
bool UnigramDictionary::addWord(unsigned short *word, int length, int frequency) {