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
1 changed files with 2 additions and 2 deletions

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;