From 39334d46be9c3184fef8f762135e65216cc4ee84 Mon Sep 17 00:00:00 2001 From: Aaron Brodersen Date: Wed, 13 Jul 2016 11:23:10 -0500 Subject: [PATCH] Ignore unused return values Credit to Hazerd and leafi for identifying the issue and resolution. --- src/Native/System.Native/pal_process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Native/System.Native/pal_process.cpp b/src/Native/System.Native/pal_process.cpp index 74c4335..e64205d 100644 --- a/src/Native/System.Native/pal_process.cpp +++ b/src/Native/System.Native/pal_process.cpp @@ -142,7 +142,7 @@ extern "C" int32_t SystemNative_ForkAndExecProcess(const char* filename, // where the parent process uses members of Process, like ProcessName, when the Process // is still the clone of this one. This is a best-effort attempt, so ignore any errors. #if HAVE_PIPE2 - pipe2(waitForChildToExecPipe, O_CLOEXEC); + (void)pipe2(waitForChildToExecPipe, O_CLOEXEC); #endif // Fork the child process -- 2.9.0