mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 08:16:24 +01:00
undef the proper macros to avoid warning message
This commit is contained in:
parent
a3420d8713
commit
0edd7cb8a1
@ -61,8 +61,8 @@ mem_overflow (void)
|
|||||||
CHECK_FAIL (g_try_renew (X, q, b));
|
CHECK_FAIL (g_try_renew (X, q, b));
|
||||||
free (p);
|
free (p);
|
||||||
|
|
||||||
#undef CHECK_EQ
|
#undef CHECK_FAIL
|
||||||
#undef CHECK_NEQ
|
#undef CHECK_PASS
|
||||||
|
|
||||||
#define CHECK_FAIL(P) if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR)) { p = (P); exit (0); } g_test_trap_assert_failed();
|
#define CHECK_FAIL(P) if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR)) { p = (P); exit (0); } g_test_trap_assert_failed();
|
||||||
#define CHECK_PASS(P) if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR)) { p = (P); exit (0); } g_test_trap_assert_passed();
|
#define CHECK_PASS(P) if (g_test_trap_fork (0, G_TEST_TRAP_SILENCE_STDERR)) { p = (P); exit (0); } g_test_trap_assert_passed();
|
||||||
|
Loading…
Reference in New Issue
Block a user