2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-24 14:22:08 +00:00

Fix duplicate variable warning.

[SVN r48415]
This commit is contained in:
Christopher Kohlhoff
2008-08-28 12:04:21 +00:00
parent 7387044863
commit 94292f1605

View File

@@ -531,7 +531,7 @@ private:
// Wake up next thread that is blocked on GetQueuedCompletionStatus.
if (!::PostQueuedCompletionStatus(iocp_.handle, 0, 0, 0))
{
DWORD last_error = ::GetLastError();
last_error = ::GetLastError();
ec = boost::system::error_code(last_error,
boost::asio::error::get_system_category());
return 0;