diff options
Diffstat (limited to 'lldb/source/Host/posix/PipePosix.cpp')
-rw-r--r-- | lldb/source/Host/posix/PipePosix.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lldb/source/Host/posix/PipePosix.cpp b/lldb/source/Host/posix/PipePosix.cpp index 1dbba96b9b1..414fcc68edb 100644 --- a/lldb/source/Host/posix/PipePosix.cpp +++ b/lldb/source/Host/posix/PipePosix.cpp @@ -67,10 +67,7 @@ PipePosix::CreateNew(bool child_processes_inherit) #if PIPE2_SUPPORTED if (::pipe2(m_fds, (child_processes_inherit) ? 0 : O_CLOEXEC) == 0) - { - error.SetErrorToErrno(); return error; - } #else if (::pipe(m_fds) == 0) { |