From 93e267a999a3528b21ce0e51412e889f87288f24 Mon Sep 17 00:00:00 2001 From: Fabrice de Gans-Riberi Date: Thu, 31 May 2018 11:21:01 -0700 Subject: Clean up --- googletest/src/gtest-death-test.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc index 03adcce..e5b4e09 100644 --- a/googletest/src/gtest-death-test.cc +++ b/googletest/src/gtest-death-test.cc @@ -945,13 +945,9 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() { }; // Spawn the child process. - char err_msg[255]; status = fdio_spawn_etc(ZX_HANDLE_INVALID, FDIO_SPAWN_CLONE_ALL, args.Argv()[0], args.Argv(), nullptr, 1, - &add_handle_action, &child_process_, err_msg); - if (status != ZX_OK) { - GTEST_LOG_(ERROR) << err_msg; - } + &add_handle_action, &child_process_, nullptr); GTEST_DEATH_TEST_CHECK_(status == ZX_OK); set_spawned(true); -- cgit v0.12