mirror of
https://github.com/boostorg/asio.git
synced 2026-01-27 06:32:08 +00:00
Fix shadow variable warning.
This commit is contained in:
@@ -421,7 +421,7 @@ void win_object_handle_service::wait_callback(PVOID param, BOOLEAN)
|
||||
boost::system::error_code ec(last_error,
|
||||
boost::asio::error::get_system_category());
|
||||
|
||||
while (wait_op* op = impl->op_queue_.front())
|
||||
while ((op = impl->op_queue_.front()) != 0)
|
||||
{
|
||||
op->ec_ = ec;
|
||||
impl->op_queue_.pop();
|
||||
|
||||
Reference in New Issue
Block a user