blob: 75ba7c70c2fd95240cd111768e34ce5df42d1a16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From 39334d46be9c3184fef8f762135e65216cc4ee84 Mon Sep 17 00:00:00 2001
From: Aaron Brodersen <aaron@abrodersen.com>
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
|