summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-09-15 13:12:42 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-09-15 13:17:13 +0100
commitd563ead8cff191753d95d19bb0655db254e77c6e (patch)
treeae7d4606720888c642dfc67536d8b4ff013aeb54
parent9c5a4e350ae324316297db4ca3af175cbc32a702 (diff)
downloadtelepathy-mission-control-d563ead8cff191753d95d19bb0655db254e77c6e.tar.gz
test/account-store: fix one more build warning
Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
-rw-r--r--test/account-store.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/account-store.c b/test/account-store.c
index f35ec7ef..a601386b 100644
--- a/test/account-store.c
+++ b/test/account-store.c
@@ -78,7 +78,8 @@ const Backend backends[] = {
{ NULL }
};
-static void usage (const gchar *name, const gchar *fmt, ...);
+static void usage (const gchar *name, const gchar *fmt,
+ ...) G_GNUC_NORETURN;
#if ENABLE_GNOME_KEYRING
#include <gnome-keyring.h>
@@ -218,6 +219,10 @@ int main (int argc, char **argv)
if (success)
output = g_strdup_printf ("Exists in %s", store->name);
break;
+
+ case OP_UNKNOWN:
+ /* if this is the case then we already exited */
+ g_assert_not_reached ();
}
if (output != NULL)