am 7914e907: Add comments for meaningless lines

* commit '7914e907b5d31ec4b2034a94e393129833770531':
  Add comments for meaningless lines
main
Ken Wakasa 2012-09-06 19:28:10 -07:00 committed by Android Git Automerger
commit 217d24101d
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 ]",
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;
char s[MAX_WORD_LENGTH];
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]);
}
}