[glib] gmessages: Add G_GNUC_NORETURN to g_error static function declaration



commit 93dadb17ce9840a6c835f89984350edfb68a5946
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Thu Feb 19 01:18:42 2015 +0800

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmessages.h b/glib/gmessages.h
index a38652d..1e146a8 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]