summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/reply-password/reply-password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reply-password/reply-password.c b/src/reply-password/reply-password.c
index 5794dfd535..d085da9f08 100644
--- a/src/reply-password/reply-password.c
+++ b/src/reply-password/reply-password.c
@@ -37,7 +37,7 @@ static int send_on_socket(int fd, const char *socket_name, const void *packet, s
int main(int argc, char *argv[]) {
_cleanup_free_ char *packet = NULL;
_cleanup_close_ int fd = -1;
- size_t length;
+ size_t length = 0;
int r;
log_set_target(LOG_TARGET_AUTO);