mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +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)
|
if (breakpoint)
|
||||||
G_BREAKPOINT ();
|
G_BREAKPOINT ();
|
||||||
else
|
|
||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
|
Loading…
Reference in New Issue
Block a user