test: remove stray semi-colons after functions
Clears warnings from clang 19.1.7:
test/list.c:95:2: warning: extra ';' outside of a function [-Wextra-semi]
95 | };
| ^
test/list.c:137:2: warning: extra ';' outside of a function [-Wextra-semi]
137 | };
| ^
Fixes: 92788e677
("test: add some tests for basic list manipulation.")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1910>
This commit is contained in:
parent
f9d25189fa
commit
3eaa19d74b
|
@ -92,7 +92,7 @@ test_xorg_list_add(void)
|
||||||
c = xorg_list_first_entry(&parent.children, struct child, node);
|
c = xorg_list_first_entry(&parent.children, struct child, node);
|
||||||
|
|
||||||
assert(memcmp(c, &child[2], sizeof(struct child)) == 0);
|
assert(memcmp(c, &child[2], sizeof(struct child)) == 0);
|
||||||
};
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
test_xorg_list_append(void)
|
test_xorg_list_append(void)
|
||||||
|
@ -134,7 +134,7 @@ test_xorg_list_append(void)
|
||||||
xorg_list_for_each_entry(c, &parent.children, node) {
|
xorg_list_for_each_entry(c, &parent.children, node) {
|
||||||
assert(memcmp(c, &child[i++], sizeof(struct child)) == 0);
|
assert(memcmp(c, &child[i++], sizeof(struct child)) == 0);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
test_xorg_list_del(void)
|
test_xorg_list_del(void)
|
||||||
|
|
Loading…
Reference in New Issue