Use G_LIKELY without surrounding parentheses in g_assert() and
authorMatthias Clasen <matthiasc@src.gnome.org>
Wed, 27 Nov 2002 18:50:34 +0000 (18:50 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Wed, 27 Nov 2002 18:50:34 +0000 (18:50 +0000)
commit00a9d30b67ed0e5e4a58201eca85214d5eeeae86
tree50265e164a1da19894ffccbf755a0f04b0502946
parent3d91951830a84b3a4a3c04e7e3afb940b1e455aa
Use G_LIKELY without surrounding parentheses in g_assert() and

* glib/gmessages.h: Use G_LIKELY without surrounding parentheses
in g_assert() and g_return_[val]_if_fail() so that we always trigger
the gcc warning about "assignment used as truth value".

* glib/gmacros.h: Always put parentheses in G_LIKELY and G_UNLIKELY.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmacros.h
glib/gmessages.h