mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01: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:
parent
695070b52e
commit
e53caad4f1
@ -307,8 +307,8 @@ _g_log_abort (gboolean breakpoint)
|
||||
|
||||
if (breakpoint)
|
||||
G_BREAKPOINT ();
|
||||
else
|
||||
abort ();
|
||||
|
||||
abort ();
|
||||
}
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user