From 93dadb17ce9840a6c835f89984350edfb68a5946 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Thu, 19 Feb 2015 01:18:42 +0800 Subject: [PATCH] gmessages: Add G_GNUC_NORETURN to g_error static function declaration https://bugzilla.gnome.org/show_bug.cgi?id=741901 --- glib/gmessages.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gmessages.h b/glib/gmessages.h index a38652d0c..1e146a871 100644 --- a/glib/gmessages.h +++ b/glib/gmessages.h @@ -198,7 +198,7 @@ void g_assert_warning (const char *log_domain, G_LOG_LEVEL_DEBUG, \ format) #else /* no varargs macros */ -static void g_error (const gchar *format, ...) G_ANALYZER_NORETURN; +static void g_error (const gchar *format, ...) G_GNUC_NORETURN G_ANALYZER_NORETURN; static void g_critical (const gchar *format, ...) G_ANALYZER_NORETURN; static void