Skip to content

Commit

Permalink
Create unused_var_in_process.patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-shaw authored Sep 1, 2022
1 parent c1088b8 commit a934546
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions depends/patches/boost/unused_var_in_process.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
commit dbd95cdaefdea95307d004f019a1c394cf9389f0
Author: fanquake <fanquake@gmail.com>
Date: Mon Aug 17 20:15:17 2020 +0800

Remove unused variable in Boost Process

This causes issues with our linters / CI.

Can be removed once depends Boost is 1.71.0 or later.

diff --git a/boost/process/detail/posix/wait_group.hpp b/boost/process/detail/posix/wait_group.hpp
index 9dc249803..2502d9772 100644
--- a/boost/process/detail/posix/wait_group.hpp
+++ b/boost/process/detail/posix/wait_group.hpp
@@ -137,7 +137,6 @@ inline bool wait_until(

do
{
- int ret_sig = 0;
int status;
if ((::waitpid(timeout_pid, &status, WNOHANG) != 0)
&& (WIFEXITED(status) || WIFSIGNALED(status)))

0 comments on commit a934546

Please sign in to comment.