core: Mark meta_fatal() as not returning
This also makes meta_fatal() not returning, even if a NULL format is passed. https://bugzilla.gnome.org/show_bug.cgi?id=780304 https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
@ -470,7 +470,9 @@ meta_fatal (const char *format, ...)
|
||||
gchar *str;
|
||||
FILE *out;
|
||||
|
||||
g_return_if_fail (format != NULL);
|
||||
g_warn_if_fail (format);
|
||||
if (!format)
|
||||
meta_exit (META_EXIT_ERROR);
|
||||
|
||||
va_start (args, format);
|
||||
str = g_strdup_vprintf (format, args);
|
||||
|
Reference in New Issue
Block a user