Only use G_LIKELY in g_assert() and g_return_[val]_if_fail() if it is

* glib/gmessages.h: Only use G_LIKELY in g_assert() and
	g_return_[val]_if_fail() if it is actually doing something.
This commit is contained in:
Matthias Clasen
2002-11-26 19:48:52 +00:00
parent 4d059644f5
commit 37078e206c
8 changed files with 37 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2002-11-26 Matthias Clasen <maclas@gmx.de>
* glib/gmessages.h: Only use G_LIKELY in g_assert() and
g_return_[val]_if_fail() if it is actually doing something.
2002-11-26 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/grand.c, gthread/gthread-impl.c, tests/rand-test.c: