mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
[raop] Fix scan-build make warning after removing switch in commit 98dad07
This commit is contained in:
parent
ba8b752a9b
commit
64d6b0d4c3
@ -2241,7 +2241,7 @@ static void
|
||||
control_svc_cb(int fd, short what, void *arg)
|
||||
{
|
||||
struct airplay_service *svc = arg;
|
||||
union net_sockaddr peer_addr;
|
||||
union net_sockaddr peer_addr = { 0 };
|
||||
socklen_t peer_addrlen = sizeof(peer_addr);
|
||||
char address[INET6_ADDRSTRLEN];
|
||||
struct airplay_session *rs;
|
||||
|
@ -3072,7 +3072,7 @@ static void
|
||||
control_svc_cb(int fd, short what, void *arg)
|
||||
{
|
||||
struct raop_service *svc;
|
||||
union net_sockaddr peer_addr;
|
||||
union net_sockaddr peer_addr = { 0 };
|
||||
socklen_t peer_addrlen = sizeof(peer_addr);
|
||||
char address[INET6_ADDRSTRLEN];
|
||||
struct raop_session *rs;
|
||||
|
Loading…
Reference in New Issue
Block a user