Add default case to address family switch for maximum compiler happiness

This commit is contained in:
Julien BLACHE 2011-04-30 11:36:03 +02:00
parent 0dac53f25c
commit 52dcd4cb10

View File

@ -335,6 +335,12 @@ add_remote_mdns_data(const char *id, int family, const char *address, int port,
check_addr = ri->v6_address;
break;
default:
DPRINTF(E_LOG, L_REMOTE, "Unknown address family %d\n", family);
check_addr = NULL;
break;
}
if (!ri->pi.remote_id || !check_addr)