mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 14:00:29 +01:00
test: skip double-initialization of all_tests lists
Already done in main(), this here is a leftover from having multiple mains fro different tests. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6060abc3b3
commit
9ddf8a6421
1 changed files with 0 additions and 3 deletions
|
|
@ -567,9 +567,6 @@ get_suite(const char *name)
|
|||
{
|
||||
struct suite *s;
|
||||
|
||||
if (all_tests.next == NULL && all_tests.prev == NULL)
|
||||
list_init(&all_tests);
|
||||
|
||||
list_for_each(s, &all_tests, node) {
|
||||
if (streq(s->name, name))
|
||||
return s;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue