test-path: remove unnecessary check

test points to an array, so it canont be NULL at this point.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-08-27 09:58:58 +02:00
parent df92f4fa8d
commit c87d0661a0

View file

@ -350,7 +350,7 @@ int main(int argc, char *argv[]) {
assert_se(set_unit_path(test_path) >= 0);
assert_se(runtime_dir = setup_fake_runtime_dir());
for (const test_function_t *test = tests; test && *test; test++) {
for (const test_function_t *test = tests; *test; test++) {
Manager *m = NULL;
int r;