summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Mehdilou <arminmehdilou@gmail.com>2020-01-31 12:46:42 +0100
committerArmin Mehdilou <arminmehdilou@gmail.com>2020-01-31 12:46:42 +0100
commitcf3f943c3efc8e7fbbacf07763aa65b37e1f3bf3 (patch)
tree86d543872ec86f9e0a9c864eb11c069db88a00ea
parentupdater: duplicate function definition (diff)
downloadandroid_bootable_recovery-cf3f943c3efc8e7fbbacf07763aa65b37e1f3bf3.tar
android_bootable_recovery-cf3f943c3efc8e7fbbacf07763aa65b37e1f3bf3.tar.gz
android_bootable_recovery-cf3f943c3efc8e7fbbacf07763aa65b37e1f3bf3.tar.bz2
android_bootable_recovery-cf3f943c3efc8e7fbbacf07763aa65b37e1f3bf3.tar.lz
android_bootable_recovery-cf3f943c3efc8e7fbbacf07763aa65b37e1f3bf3.tar.xz
android_bootable_recovery-cf3f943c3efc8e7fbbacf07763aa65b37e1f3bf3.tar.zst
android_bootable_recovery-cf3f943c3efc8e7fbbacf07763aa65b37e1f3bf3.zip
-rw-r--r--updater/install.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/updater/install.cpp b/updater/install.cpp
index 4b5758a2e..388f5a255 100644
--- a/updater/install.cpp
+++ b/updater/install.cpp
@@ -1001,8 +1001,8 @@ static int ApplyParsedPerms(State* state, const char* filename, const struct sta
static struct perm_parsed_args recursive_parsed_args;
static State* recursive_state;
-static int do_SetMetadataRecursive(const char* filename, const struct stat* statptr, int fileflags,
- struct FTW* pfwt) {
+static int do_SetMetadataRecursive(const char* filename, const struct stat* statptr, int ,
+ struct FTW* ) {
return ApplyParsedPerms(recursive_state, filename, statptr, recursive_parsed_args);
}
@@ -1396,7 +1396,7 @@ Value* EnableRebootFn(const char* name, State* state, const std::vector<std::uni
return StringValue("t");
}
-Value* Tune2FsFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) {
+Value* Tune2FsFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& ) {
#ifdef HAVE_LIBTUNE2FS
if (argv.empty()) {
return ErrorAbort(state, kArgsParsingFailure, "%s() expects args, got %zu", name, argv.size());