summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ask-password-api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c
index 4557155d45..755abf0b5e 100644
--- a/src/shared/ask-password-api.c
+++ b/src/shared/ask-password-api.c
@@ -250,7 +250,8 @@ static int create_socket(char **name) {
} sa = {
.un.sun_family = AF_UNIX,
};
- int one = 1, r;
+ int one = 1;
+ int r = 0;
char *c;
assert(name);