mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
test-path: remove unnecessary check
test points to an array, so it canont be NULL at this point.
This commit is contained in:
parent
df92f4fa8d
commit
c87d0661a0
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue