projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
695070b
)
Fix a warning about _g_log_abort()
author
Dan Winship
<danw@gnome.org>
Wed, 27 Nov 2013 15:57:43 +0000
(10:57 -0500)
committer
Dan Winship
<danw@gnome.org>
Wed, 27 Nov 2013 15:57:43 +0000
(10:57 -0500)
G_BREAKPOINT is not noreturn, so make it so that we abort() if it
returns, to make _g_log_abort() be properly noreturn again.
glib/gmessages.c
patch
|
blob
|
history
diff --git
a/glib/gmessages.c
b/glib/gmessages.c
index
a8af5fe
..
0a8dc82
100644
(file)
--- a/
glib/gmessages.c
+++ b/
glib/gmessages.c
@@
-307,8
+307,8
@@
_g_log_abort (gboolean breakpoint)
if (breakpoint)
G_BREAKPOINT ();
- else
-
abort ();
+
+ abort ();
}
#ifdef G_OS_WIN32