1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-08-11 03:34:05 +02:00

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

@@ -198,7 +198,7 @@ void g_assert_warning (const char *log_domain,
G_LOG_LEVEL_DEBUG, \ G_LOG_LEVEL_DEBUG, \
format) format)
#else /* no varargs macros */ #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 g_critical (const gchar *format, ...) G_ANALYZER_NORETURN;
static void static void