From 573bd7f30318578b465e9dfee721a008d474f15e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 2 Oct 2017 03:44:06 +0200 Subject: [PATCH] wg: simmer down silly compilers Signed-off-by: Jason A. Donenfeld --- src/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipc.c b/src/ipc.c index ceeb847..0e61a3e 100644 --- a/src/ipc.c +++ b/src/ipc.c @@ -90,7 +90,7 @@ static FILE *userspace_interface_file(const char *interface) struct stat sbuf; struct sockaddr_un addr = { .sun_family = AF_UNIX }; int fd = -1, ret; - FILE *f; + FILE *f = NULL; ret = -EINVAL; if (strchr(interface, '/'))