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

@ -963,7 +963,7 @@ int pw_websocket_connect(struct pw_websocket *ws, void *user,
{
struct addrinfo hints;
struct addrinfo *result, *rp;
int res, fd;
int res, fd = -1;
struct pw_websocket_connection *conn = NULL;
memset(&hints, 0, sizeof(hints));