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:
Dan Winship 2013-11-27 10:57:43 -05:00
parent 695070b52e
commit e53caad4f1

View File

@ -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