mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-07 10:58:09 +02:00
test-utils-glib: Ensure correct precedence in g_assert_nonnull()
It's best-practice to put macro arguments in parentheses so that they are always treated as a unit. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
ccea70515e
commit
b7c325e573
1 changed files with 1 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ backported_g_steal_pointer (gpointer pointer_to_pointer)
|
|||
#endif
|
||||
|
||||
#ifndef g_assert_nonnull
|
||||
#define g_assert_nonnull(a) g_assert (a != NULL)
|
||||
#define g_assert_nonnull(a) g_assert ((a) != NULL)
|
||||
#endif
|
||||
|
||||
gboolean test_check_tcp_works (void);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue