Mark g_assert_warning as G_GNUC_NORETURN, to avoid compiler warnings.
[platform/upstream/glib.git] / glib / gmessages.h
index 381e785..a739530 100644 (file)
@@ -116,7 +116,7 @@ void g_assert_warning         (const char *log_domain,
                               const char *file,
                               const int   line,
                               const char *pretty_function,
-                              const char *expression);
+                              const char *expression) G_GNUC_NORETURN;
 
 
 #ifndef G_LOG_DOMAIN