From f8c37da731af9f6cd74e7a0ef08fa02059d981ac Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 8 Jul 2010 11:39:07 +0100 Subject: Fix missing entries in switch statements Added missing default cases and missing enum cases. --- libempathy/empathy-status-presets.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libempathy/empathy-status-presets.c') diff --git a/libempathy/empathy-status-presets.c b/libempathy/empathy-status-presets.c index 255f7ab21..319ca53d9 100644 --- a/libempathy/empathy-status-presets.c +++ b/libempathy/empathy-status-presets.c @@ -431,6 +431,8 @@ empathy_status_presets_is_valid (TpConnectionPresenceType state) case TP_CONNECTION_PRESENCE_TYPE_HIDDEN: case TP_CONNECTION_PRESENCE_TYPE_BUSY: return TRUE; + + default: + return FALSE; } - return FALSE; } -- cgit v1.2.3