test: drop duplicate init of test->result

Set to the same value 5 lines above
This commit is contained in:
Peter Hutterer 2021-06-21 13:13:02 +10:00 committed by Wim Taymans
parent ea28cb95c0
commit 00bc5f0e3b

View file

@ -921,7 +921,6 @@ static void run_test(struct pwtest_context *ctx, struct pwtest_suite *c, struct
set_test_env(ctx, t);
chdir(getenv("TMPDIR"));
t->result = PWTEST_SYSTEM_ERROR;
if (t->args.pw_daemon) {
pw_daemon = start_pwdaemon(t, write_fds[FD_DAEMON], write_fds[FD_LOG]);