[raop] Fix scan-build make warning after removing switch in commit 98dad07

This commit is contained in:
ejurgensen 2021-04-01 01:21:11 +02:00
parent ba8b752a9b
commit 64d6b0d4c3
2 changed files with 2 additions and 2 deletions

View File

@ -2241,7 +2241,7 @@ static void
control_svc_cb(int fd, short what, void *arg) control_svc_cb(int fd, short what, void *arg)
{ {
struct airplay_service *svc = arg; struct airplay_service *svc = arg;
union net_sockaddr peer_addr; union net_sockaddr peer_addr = { 0 };
socklen_t peer_addrlen = sizeof(peer_addr); socklen_t peer_addrlen = sizeof(peer_addr);
char address[INET6_ADDRSTRLEN]; char address[INET6_ADDRSTRLEN];
struct airplay_session *rs; struct airplay_session *rs;

View File

@ -3072,7 +3072,7 @@ static void
control_svc_cb(int fd, short what, void *arg) control_svc_cb(int fd, short what, void *arg)
{ {
struct raop_service *svc; struct raop_service *svc;
union net_sockaddr peer_addr; union net_sockaddr peer_addr = { 0 };
socklen_t peer_addrlen = sizeof(peer_addr); socklen_t peer_addrlen = sizeof(peer_addr);
char address[INET6_ADDRSTRLEN]; char address[INET6_ADDRSTRLEN];
struct raop_session *rs; struct raop_session *rs;