1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00

ask-password: make a confused gcc shut up

This commit is contained in:
Lennart Poettering 2011-02-28 23:24:33 +01:00
parent 4ce9faa9d2
commit 3414abee0d

View File

@ -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;