mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-28 06:46:42 -04:00
fix some uninitialized variables warnings
This commit is contained in:
parent
abd8c8f666
commit
0e0c325194
6 changed files with 8 additions and 9 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue