mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 22:46:02 -05:00
Add default case to address family switch for maximum compiler happiness
This commit is contained in:
parent
0dac53f25c
commit
52dcd4cb10
@ -335,6 +335,12 @@ add_remote_mdns_data(const char *id, int family, const char *address, int port,
|
|||||||
|
|
||||||
check_addr = ri->v6_address;
|
check_addr = ri->v6_address;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
DPRINTF(E_LOG, L_REMOTE, "Unknown address family %d\n", family);
|
||||||
|
|
||||||
|
check_addr = NULL;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ri->pi.remote_id || !check_addr)
|
if (!ri->pi.remote_id || !check_addr)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user