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>
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user