summarylogtreecommitdiffstats
path: root/auto_dummy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'auto_dummy.patch')
-rw-r--r--auto_dummy.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/auto_dummy.patch b/auto_dummy.patch
new file mode 100644
index 000000000000..fce18d1d464b
--- /dev/null
+++ b/auto_dummy.patch
@@ -0,0 +1,12 @@
+--- ProcessUtil.cpp 2020-06-21 22:41:53.008149222 +0200
++++ ProcessUtil.cpp.bak 2020-06-21 22:40:22.793443863 +0200
+@@ -247,8 +247,7 @@
+ {
+ in.read(buffer.data(), buffer.size());
+ numBytes = in.gcount();
+- auto dummy = write(pipes[STD_IN][WRITE], buffer.data(), static_cast<std::size_t>(in.gcount()));
+- (void)dummy;
++ write(pipes[STD_IN][WRITE], buffer.data(), static_cast<std::size_t>(in.gcount()));
+ if(numBytes != buffer.size())
+ break;
+ }