From 4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02 Mon Sep 17 00:00:00 2001 From: Edwin Vane Date: Fri, 27 Jul 2012 12:00:48 -0400 Subject: [PATCH] Fixed unused param warnings for check-lost+found A few simple warnings fixed to produce a clean clang build. Change-Id: I9484f860903a80e4c91e204e7e6738145535f642 Author: Edwin Vane Reviewed-by: Ariel J Bernal --- tools/ota/check-lost+found.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ota/check-lost+found.c b/tools/ota/check-lost+found.c index f8562754..da02f460 100644 --- a/tools/ota/check-lost+found.c +++ b/tools/ota/check-lost+found.c @@ -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");