From d563ead8cff191753d95d19bb0655db254e77c6e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 15 Sep 2010 13:12:42 +0100 Subject: test/account-store: fix one more build warning Reviewed-by: Guillaume Desmottes --- test/account-store.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 @@ -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) -- cgit v1.2.1