mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 17:34:42 +03:00
[test] Fix compiler warning on older gcc versions
Reported-by: Alex Davies <alex@davz.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -425,7 +425,7 @@ static void list_test_exec ( void ) {
|
|||||||
pos = &list_tests[7];
|
pos = &list_tests[7];
|
||||||
list_iterate_entry_ok ( list_for_each_entry_continue, "293",
|
list_iterate_entry_ok ( list_for_each_entry_continue, "293",
|
||||||
pos, list, list );
|
pos, list, list );
|
||||||
pos = list_entry ( list, struct list_test, list );
|
ok ( pos == list_entry ( list, struct list_test, list ) );
|
||||||
list_iterate_entry_ok ( list_for_each_entry_continue, "47293",
|
list_iterate_entry_ok ( list_for_each_entry_continue, "47293",
|
||||||
pos, list, list );
|
pos, list, list );
|
||||||
pos = &list_tests[3];
|
pos = &list_tests[3];
|
||||||
@@ -434,7 +434,7 @@ static void list_test_exec ( void ) {
|
|||||||
pos = &list_tests[2];
|
pos = &list_tests[2];
|
||||||
list_iterate_entry_ok ( list_for_each_entry_continue_reverse, "74",
|
list_iterate_entry_ok ( list_for_each_entry_continue_reverse, "74",
|
||||||
pos, list, list );
|
pos, list, list );
|
||||||
pos = list_entry ( list, struct list_test, list );
|
ok ( pos == list_entry ( list, struct list_test, list ) );
|
||||||
list_iterate_entry_ok ( list_for_each_entry_continue_reverse, "39274",
|
list_iterate_entry_ok ( list_for_each_entry_continue_reverse, "39274",
|
||||||
pos, list, list );
|
pos, list, list );
|
||||||
pos = &list_tests[4];
|
pos = &list_tests[4];
|
||||||
|
|||||||
Reference in New Issue
Block a user