aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorEdwin Vane2012-07-27 11:00:48 -0500
committerEdwin Vane2012-08-21 15:03:46 -0500
commit4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02 (patch)
tree3854cc31d0590fcab88971a5222878d921365dff /tools
parent3733d2185bbcedd9ef626907f1f32628986cc0f5 (diff)
downloadplatform-bootable-recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.tar.gz
platform-bootable-recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.tar.xz
platform-bootable-recovery-4f66d550e913a7b9f7a3c8cf8663bba46dd2ca02.zip
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 <edwin.vane@intel.com> Reviewed-by: Ariel J Bernal <ariel.j.bernal@intel.com>
Diffstat (limited to 'tools')
-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 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 };
44 * 2. Write a log entry with the number of files in lost+found directories. 44 * 2. Write a log entry with the number of files in lost+found directories.
45 */ 45 */
46 46
47int main(int argc, char **argv) { 47int main(int argc __attribute__((unused)), char **argv __attribute__((unused))) {
48 mkdir(kOutputDir, 0755); 48 mkdir(kOutputDir, 0755);
49 chown(kOutputDir, AID_SYSTEM, AID_SYSTEM); 49 chown(kOutputDir, AID_SYSTEM, AID_SYSTEM);
50 FILE *out = fopen(kOutputFile, "a"); 50 FILE *out = fopen(kOutputFile, "a");