gmessages: Add G_GNUC_NORETURN to g_error static function declaration
authorTing-Wei Lan <lantw@src.gnome.org>
Wed, 18 Feb 2015 17:18:42 +0000 (01:18 +0800)
committerTing-Wei Lan <lantw@src.gnome.org>
Sun, 28 Jun 2015 20:11:39 +0000 (04:11 +0800)
https://bugzilla.gnome.org/show_bug.cgi?id=741901

glib/gmessages.h

index a38652d..1e146a8 100644 (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