am 669446e0: Merge "Fix build" into jb-dev-plus-aosp

* commit '669446e055b5a0d3a51ec8e825de3ed6f558ee8b':
  Fix build
main
Jean-Baptiste Queru 2012-05-17 17:17:55 -07:00 committed by Android Git Automerger
commit 5f5a28ed4f
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]);
}
}