[systemd-commits] src/test
Lennart Poettering
lennart at kemper.freedesktop.org
Tue Aug 19 15:57:27 PDT 2014
src/test/test-util.c | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 5d0ae62c665262c4c55536457e84e278c252cc0b
Author: Lennart Poettering <lennart at poettering.net>
Date: Wed Aug 20 00:57:17 2014 +0200
CONST_MAX breaks gcc on fedora 20 with optimiztation
diff --git a/src/test/test-util.c b/src/test/test-util.c
index b74abac..ac1afce 100644
--- a/src/test/test-util.c
+++ b/src/test/test-util.c
@@ -85,7 +85,6 @@ static void test_max(void) {
/* CONST_MAX returns (void) instead of a value if the passed arguments
* are not of the same type or not constant expressions. */
assert_cc(__builtin_types_compatible_p(typeof(CONST_MAX(1, 10)), int));
- assert_cc(__builtin_types_compatible_p(typeof(CONST_MAX(d, 10)), void));
assert_cc(__builtin_types_compatible_p(typeof(CONST_MAX(1, 1U)), void));
assert_se(val1.a == 100);
More information about the systemd-commits
mailing list