File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Userland/Libraries/LibCore Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ ErrorOr<Account> Account::from_passwd(const passwd& pwd, const spwd& spwd)
65
65
return account;
66
66
}
67
67
68
- ErrorOr<Account> Account::self (Read options)
68
+ ErrorOr<Account> Account::self ([[maybe_unused]] Read options)
69
69
{
70
70
Vector<gid_t > extra_gids = TRY (Core::System::getgroups ());
71
71
@@ -86,7 +86,7 @@ ErrorOr<Account> Account::self(Read options)
86
86
return Account (*pwd, spwd, extra_gids);
87
87
}
88
88
89
- ErrorOr<Account> Account::from_name (const char * username, Read options)
89
+ ErrorOr<Account> Account::from_name (const char * username, [[maybe_unused]] Read options)
90
90
{
91
91
auto pwd = TRY (Core::System::getpwnam (username));
92
92
if (!pwd.has_value ())
@@ -104,7 +104,7 @@ ErrorOr<Account> Account::from_name(const char* username, Read options)
104
104
return from_passwd (*pwd, spwd);
105
105
}
106
106
107
- ErrorOr<Account> Account::from_uid (uid_t uid, Read options)
107
+ ErrorOr<Account> Account::from_uid (uid_t uid, [[maybe_unused]] Read options)
108
108
{
109
109
auto pwd = TRY (Core::System::getpwuid (uid));
110
110
if (!pwd.has_value ())
You can’t perform that action at this time.
0 commit comments