Skip to content

Commit 773ac74

Browse files
EelisVPKlemens Morgenstern
authored andcommitted
Fix 'unused variable' warning
1 parent 322f581 commit 773ac74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/process/v2/posix/default_launcher.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,9 @@ struct default_launcher
352352
}
353353
fd_whitelist.push_back(pg.p[1]);
354354

355+
#if !defined(BOOST_PROCESS_V2_DISABLE_NOTIFY_FORK)
355356
auto & ctx = net::query(
356357
exec, net::execution::context);
357-
#if !defined(BOOST_PROCESS_V2_DISABLE_NOTIFY_FORK)
358358
ctx.notify_fork(net::execution_context::fork_prepare);
359359
#endif
360360
pid = ::fork();

0 commit comments

Comments
 (0)