wg: simmer down silly compilers
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
53e5b4fa89
commit
573bd7f303
|
@ -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, '/'))
|
||||||
|
|
Loading…
Reference in a new issue