summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/util.c2
-rw-r--r--src/include/util.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/util.c b/src/core/util.c
index a30707a7..c638570e 100644
--- a/src/core/util.c
+++ b/src/core/util.c
@@ -372,7 +372,7 @@ meta_bug (const char *format, ...)
gchar *str;
FILE *out;
- g_return_if_fail (format != NULL);
+ g_assert (format != NULL);
va_start (args, format);
str = g_strdup_vprintf (format, args);
diff --git a/src/include/util.h b/src/include/util.h
index 545357f8..d32e1895 100644
--- a/src/include/util.h
+++ b/src/include/util.h
@@ -43,7 +43,7 @@ void meta_verbose_real (const char *format,
...) G_GNUC_PRINTF (1, 2);
void meta_bug (const char *format,
- ...) G_GNUC_PRINTF (1, 2);
+ ...) G_GNUC_PRINTF (1, 2) G_GNUC_NORETURN G_ANALYZER_NORETURN;
void meta_warning (const char *format,
...) G_GNUC_PRINTF (1, 2);
void meta_fatal (const char *format,