mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-14 22:26:46 +02:00
Fix a warning about _g_log_abort()
G_BREAKPOINT is not noreturn, so make it so that we abort() if it returns, to make _g_log_abort() be properly noreturn again.
This commit is contained in:
@ -307,7 +307,7 @@ _g_log_abort (gboolean breakpoint)
|
||||
|
||||
if (breakpoint)
|
||||
G_BREAKPOINT ();
|
||||
else
|
||||
|
||||
abort ();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user