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 0602b28c..6ebaf3c9 100644
--- a/src/core/util.c
+++ b/src/core/util.c
@@ -363,7 +363,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 107b9365..fe94bbc6 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,