From: Ian Jackson Date: Thu, 11 Aug 2022 17:53:44 +0000 (+0100) Subject: prefork-interp: Fix an uninitialised variable X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-utils.git;a=commitdiff_plain;h=ae1181b0c52c3e7778c134dc406f480ab416625d prefork-interp: Fix an uninitialised variable Signed-off-by: Ian Jackson --- 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");