mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03: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 New Issue
Block a user