mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
ask-password: make a confused gcc shut up
This commit is contained in:
parent
4ce9faa9d2
commit
3414abee0d
@ -315,7 +315,7 @@ static int parse_password(const char *filename, char **wall) {
|
||||
struct sockaddr sa;
|
||||
struct sockaddr_un un;
|
||||
} sa;
|
||||
size_t packet_length;
|
||||
size_t packet_length = 0;
|
||||
|
||||
assert(arg_action == ACTION_QUERY ||
|
||||
arg_action == ACTION_WATCH);
|
||||
@ -330,7 +330,7 @@ static int parse_password(const char *filename, char **wall) {
|
||||
}
|
||||
|
||||
if (arg_plymouth) {
|
||||
char **passwords;
|
||||
char **passwords = NULL;
|
||||
|
||||
if ((r = ask_password_plymouth(message, not_after, filename, accept_cached, &passwords)) >= 0) {
|
||||
char **p;
|
||||
|
Loading…
Reference in New Issue
Block a user