diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-07-08 19:13:02 +0800 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-08-05 22:55:12 +0800 |
commit | 9039976a1e17444081eb9df2e480d3b4c5266a88 (patch) | |
tree | 2f62fc1956fd7dfeed2f81f05d3fdc63712440a0 /src | |
parent | 03e54b66952397d0a54807f74187c5b68b5eb12c (diff) | |
download | gsoc2013-empathy-9039976a1e17444081eb9df2e480d3b4c5266a88.tar gsoc2013-empathy-9039976a1e17444081eb9df2e480d3b4c5266a88.tar.gz gsoc2013-empathy-9039976a1e17444081eb9df2e480d3b4c5266a88.tar.bz2 gsoc2013-empathy-9039976a1e17444081eb9df2e480d3b4c5266a88.tar.lz gsoc2013-empathy-9039976a1e17444081eb9df2e480d3b4c5266a88.tar.xz gsoc2013-empathy-9039976a1e17444081eb9df2e480d3b4c5266a88.tar.zst gsoc2013-empathy-9039976a1e17444081eb9df2e480d3b4c5266a88.zip |
Add noreturn annotation to version callback function
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 |