Merge "Fixed unused param warnings for check-lost+found"

This commit is contained in:
Jean-Baptiste Queru 2012-08-23 08:03:51 -07:00 committed by android code review
commit 481e03e398

View file

@ -44,7 +44,7 @@ static const char *kPartitions[] = { "/system", "/data", "/cache", NULL };
* 2. Write a log entry with the number of files in lost+found directories.
*/
int main(int argc, char **argv) {
int main(int argc __attribute__((unused)), char **argv __attribute__((unused))) {
mkdir(kOutputDir, 0755);
chown(kOutputDir, AID_SYSTEM, AID_SYSTEM);
FILE *out = fopen(kOutputFile, "a");