summaryrefslogtreecommitdiffstats
path: root/updater/install.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'updater/install.cpp')
-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());