From 960149f913c8c754e4c73da186b8d61c7c78409b Mon Sep 17 00:00:00 2001 From: Fabrice de Gans-Riberi Date: Thu, 3 May 2018 13:57:51 -0700 Subject: [PATCH] Remove magic number --- googletest/src/gtest-death-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googletest/src/gtest-death-test.cc b/googletest/src/gtest-death-test.cc index 4da9e1ca..792fe46a 100644 --- a/googletest/src/gtest-death-test.cc +++ b/googletest/src/gtest-death-test.cc @@ -934,7 +934,7 @@ DeathTest::TestRole FuchsiaDeathTest::AssumeRole() { // Build the pipe for communication with the child. int read_fd; - status = launchpad_add_pipe(lp, &read_fd, 3); + status = launchpad_add_pipe(lp, &read_fd, kFuchsiaReadPipeFd); GTEST_DEATH_TEST_CHECK_(status == ZX_OK); set_read_fd(read_fd);