Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/boost/process/v1/pipe.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ class basic_ipstream : public std::basic_istream<CharT, Traits>
}

///Open a new named pipe
void open(const std::string & name)
void open(const std::string &)
{
if (_buf.open() == nullptr)
this->setstate(std::ios_base::failbit);
Expand Down Expand Up @@ -504,7 +504,7 @@ class basic_opstream : public std::basic_ostream<CharT, Traits>
}

///Open a new named pipe
void open(const std::string & name)
void open(const std::string &)
{
if (_buf.open() == nullptr)
this->setstate(std::ios_base::failbit);
Expand Down Expand Up @@ -612,7 +612,7 @@ class basic_pstream : public std::basic_iostream<CharT, Traits>
}

///Open a new named pipe
void open(const std::string & name)
void open(const std::string &)
{
if (_buf.open() == nullptr)
this->setstate(std::ios_base::failbit);
Expand Down
2 changes: 1 addition & 1 deletion include/boost/process/v2/detail/process_handle_signal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ struct basic_process_handle_signal
}

template<typename Self>
void operator()(Self &&self, error_code ec, int sig)
void operator()(Self &&self, error_code ec, int /* sig */)
{
if (ec == net::error::operation_aborted &&
self.get_cancellation_state().cancelled()
Expand Down
4 changes: 2 additions & 2 deletions include/boost/process/v2/stdio.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ struct process_io_binding
return ec;
}

error_code on_exec_setup(posix::default_launcher & launcher,
error_code on_exec_setup(posix::default_launcher & /* launcher */,
const filesystem::path &, const char * const *)
{
if (::dup2(fd, target) == -1)
Expand Down Expand Up @@ -364,4 +364,4 @@ struct process_stdio

BOOST_PROCESS_V2_END_NAMESPACE

#endif // BOOST_PROCESS_V2_STDIO_HPP
#endif // BOOST_PROCESS_V2_STDIO_HPP