Fix shadow variable warning.

This commit is contained in:
Christopher Kohlhoff 2014-07-26 17:06:21 +10:00
parent f475f33732
commit ee9468429f

View File

@ -420,7 +420,7 @@ void win_object_handle_service::wait_callback(PVOID param, BOOLEAN)
asio::error_code ec(last_error,
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();