From 9039976a1e17444081eb9df2e480d3b4c5266a88 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 8 Jul 2010 12:13:02 +0100 Subject: Add noreturn annotation to version callback function --- src/empathy.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/empathy.c b/src/empathy.c index 28dd3e0fe..fd49d34e8 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -228,6 +228,11 @@ unique_app_message_cb (UniqueApp *unique_app, return UNIQUE_RESPONSE_OK; } +static gboolean show_version_cb (const char *option_name, + const char *value, + gpointer data, + GError **error) G_GNUC_NORETURN; + static gboolean show_version_cb (const char *option_name, const char *value, @@ -237,8 +242,6 @@ show_version_cb (const char *option_name, g_print ("%s\n", PACKAGE_STRING); exit (EXIT_SUCCESS); - - return FALSE; } static void -- cgit v1.2.3