From ae1181b0c52c3e7778c134dc406f480ab416625d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 11 Aug 2022 18:53:44 +0100 Subject: [PATCH] prefork-interp: Fix an uninitialised variable Signed-off-by: Ian Jackson --- cprogs/prefork-interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cprogs/prefork-interp.c b/cprogs/prefork-interp.c index 4e044a2..2215ded 100644 --- a/cprogs/prefork-interp.c +++ b/cprogs/prefork-interp.c @@ -265,7 +265,7 @@ static bool was_eof(FILE *call_sock) { static FILE *connect_existing(void) { int r; int fd = -1; - FILE *call_sock; + FILE *call_sock = 0; fd = socket(AF_UNIX, SOCK_STREAM, 0); if (fd==-1) diee("socket() for client"); -- 2.30.2