Skip to content

Commit cf3f943

Browse files
author
Armin Mehdilou
committed
updater: removed unused variables in installer
1 parent 8fcdee1 commit cf3f943

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

updater/install.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,8 +1001,8 @@ static int ApplyParsedPerms(State* state, const char* filename, const struct sta
10011001
static struct perm_parsed_args recursive_parsed_args;
10021002
static State* recursive_state;
10031003

1004-
static int do_SetMetadataRecursive(const char* filename, const struct stat* statptr, int fileflags,
1005-
struct FTW* pfwt) {
1004+
static int do_SetMetadataRecursive(const char* filename, const struct stat* statptr, int ,
1005+
struct FTW* ) {
10061006
return ApplyParsedPerms(recursive_state, filename, statptr, recursive_parsed_args);
10071007
}
10081008

@@ -1396,7 +1396,7 @@ Value* EnableRebootFn(const char* name, State* state, const std::vector<std::uni
13961396
return StringValue("t");
13971397
}
13981398

1399-
Value* Tune2FsFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) {
1399+
Value* Tune2FsFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& ) {
14001400
#ifdef HAVE_LIBTUNE2FS
14011401
if (argv.empty()) {
14021402
return ErrorAbort(state, kArgsParsingFailure, "%s() expects args, got %zu", name, argv.size());

0 commit comments

Comments
 (0)