Skip to content
This repository was archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
updater: removed unused variables in installer
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Mehdilou committed Jan 31, 2020
1 parent 8fcdee1 commit cf3f943
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions updater/install.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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());
Expand Down

0 comments on commit cf3f943

Please sign in to comment.