summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-08-24 00:59:36 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-24 00:59:36 +0200
commitb07faf8f1a7d4bde3fd8b4f7926ad11b38599970 (patch)
treee8a0ff4dffda998ca47b51570a70a3d75fbf7786
parentam 4f33e55d: change recovery images to android with spinner (diff)
parentam 481e03e3: Merge "Fixed unused param warnings for check-lost+found" (diff)
downloadandroid_bootable_recovery-b07faf8f1a7d4bde3fd8b4f7926ad11b38599970.tar
android_bootable_recovery-b07faf8f1a7d4bde3fd8b4f7926ad11b38599970.tar.gz
android_bootable_recovery-b07faf8f1a7d4bde3fd8b4f7926ad11b38599970.tar.bz2
android_bootable_recovery-b07faf8f1a7d4bde3fd8b4f7926ad11b38599970.tar.lz
android_bootable_recovery-b07faf8f1a7d4bde3fd8b4f7926ad11b38599970.tar.xz
android_bootable_recovery-b07faf8f1a7d4bde3fd8b4f7926ad11b38599970.tar.zst
android_bootable_recovery-b07faf8f1a7d4bde3fd8b4f7926ad11b38599970.zip
-rw-r--r--tools/ota/check-lost+found.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ota/check-lost+found.c b/tools/ota/check-lost+found.c
index f85627544..da02f4602 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");