am 217d2410: am 7914e907: Add comments for meaningless lines

* commit '217d24101dd74dbd66f0ef81cbf04da3f6d0305d':
  Add comments for meaningless lines
main
Ken Wakasa 2012-09-06 19:29:18 -07:00 committed by Android Git Automerger
commit c144e8889e
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ inline static void dumpEditDistance10ForDebug(int *editDistanceTable,
} }
AKLOGI("[ %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d ]", 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]); c[0], c[1], c[2], c[3], c[4], c[5], c[6], c[7], c[8], c[9], c[10]);
(void)c; (void)c; // To suppress compiler warning
} }
} }
} }

View File

@ -225,7 +225,7 @@ int UnigramDictionary::getSuggestions(ProximityInfo *proximityInfo, const int *x
short unsigned int *w = outWords + j * MAX_WORD_LENGTH; short unsigned int *w = outWords + j * MAX_WORD_LENGTH;
char s[MAX_WORD_LENGTH]; char s[MAX_WORD_LENGTH];
for (int i = 0; i <= MAX_WORD_LENGTH; i++) s[i] = w[i]; for (int i = 0; i <= MAX_WORD_LENGTH; i++) s[i] = w[i];
(void)s; (void)s; // To suppress compiler warning
AKLOGI("%s %i", s, frequencies[j]); AKLOGI("%s %i", s, frequencies[j]);
} }
} }