mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -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)
|
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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user