Having a duplicated g_assert_true() on CentOS7 breaks `make check` as
the compiler tries to make the second assert into a constant.

As the second assert was a typo anyways, let's just remove it in order
to fix `make check`.

Signed-off-by: Fabiano FidĂȘncio <[email protected]>
---
Pushed under build breakage rule.
---
 tests/test-devicelinklist.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/test-devicelinklist.c b/tests/test-devicelinklist.c
index 99406d9..e689057 100644
--- a/tests/test-devicelinklist.c
+++ b/tests/test-devicelinklist.c
@@ -271,7 +271,6 @@ test_get_devices(void)
     g_assert_true(has1);
     g_assert_true(has2);
     g_assert_true(has3);
-    g_assert_true(has3);
     g_assert_true(has4);
     g_assert_false(hasBad);
 
-- 
2.19.1

_______________________________________________
Libosinfo mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libosinfo

Reply via email to