X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flibpspp%2Fabt-test.c;h=1b0d00998be621d3959a9f4c2a2b4e7eac5ad6d3;hb=56a9bab76d340530048bf0dea1e858701299fa29;hp=8088f19cd93dcc188c7be9cf345fde40b1620eee;hpb=46d36a11d006a565caf073f825016360cd74f5a4;p=pspp diff --git a/tests/libpspp/abt-test.c b/tests/libpspp/abt-test.c index 8088f19cd9..1b0d00998b 100644 --- a/tests/libpspp/abt-test.c +++ b/tests/libpspp/abt-test.c @@ -26,7 +26,6 @@ #include -#include #include #include #include @@ -253,7 +252,7 @@ static struct element * find_by_position (struct abt *abt, int position) { struct abt_node *p; - for (p = abt->root; p != NULL; ) + for (p = abt->root; p != NULL;) { int p_pos = p->down[0] ? abt_node_to_element (p->down[0])->count : 0; if (position == p_pos)