fix some uninitialized variables warnings

This commit is contained in:
Wim Taymans 2026-04-08 11:29:36 +02:00
parent abd8c8f666
commit 0e0c325194
6 changed files with 8 additions and 9 deletions

View file

@ -416,7 +416,7 @@ static int snapcast_connect(struct tunnel *t)
{
struct addrinfo hints;
struct addrinfo *result, *rp;
int res, fd;
int res, fd = -1;
char port_str[12];
if (t->server_address == NULL)