wg: simmer down silly compilers

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2017-10-02 03:44:06 +02:00
parent 53e5b4fa89
commit 573bd7f303

View file

@ -90,7 +90,7 @@ static FILE *userspace_interface_file(const char *interface)
struct stat sbuf; struct stat sbuf;
struct sockaddr_un addr = { .sun_family = AF_UNIX }; struct sockaddr_un addr = { .sun_family = AF_UNIX };
int fd = -1, ret; int fd = -1, ret;
FILE *f; FILE *f = NULL;
ret = -EINVAL; ret = -EINVAL;
if (strchr(interface, '/')) if (strchr(interface, '/'))