Add comments for meaningless lines

Change-Id: I20ebe246f6980fd3054c2c7e98b5150eaabbcc77
main
Ken Wakasa 2012-09-07 08:55:16 +09:00
parent 3051966b8c
commit 7914e907b5
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]);
}
}