X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flibpspp%2Fabt-test.c;h=1b0d00998be621d3959a9f4c2a2b4e7eac5ad6d3;hb=0625520a58e3cb811d699808e9df95593f7373a9;hp=fb6ddd704b18c4c9be9a18492488763121ca5cb4;hpb=078b003b3171c6158a3419a01189b9658896f470;p=pspp diff --git a/tests/libpspp/abt-test.c b/tests/libpspp/abt-test.c index fb6ddd704b..1b0d00998b 100644 --- a/tests/libpspp/abt-test.c +++ b/tests/libpspp/abt-test.c @@ -252,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)