gmessages: Add G_GNUC_NORETURN to g_error static function declaration

https://bugzilla.gnome.org/show_bug.cgi?id=741901
This commit is contained in:
Ting-Wei Lan 2015-02-19 01:18:42 +08:00
parent d7a1d890c1
commit 93dadb17ce

View File

@ -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