From 52dcd4cb10f3199b01a1798dc85b8d79f8ffc434 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sat, 30 Apr 2011 11:36:03 +0200 Subject: [PATCH] Add default case to address family switch for maximum compiler happiness --- src/remote_pairing.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/remote_pairing.c b/src/remote_pairing.c index 4524cc17..4e82c49c 100644 --- a/src/remote_pairing.c +++ b/src/remote_pairing.c @@ -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)