Remove unneeded variables from windows UDP.

TEST=build on Windows.

Review URL: http://webrtc-codereview.appspot.com/329013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1274 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2011-12-21 18:30:59 +00:00
parent 3192d655bd
commit 71571c5446

View File

@ -64,9 +64,7 @@ UdpSocket2ManagerWindows::~UdpSocket2ManagerWindows()
StopWorkerThreads(); StopWorkerThreads();
// All threads are stopped. Safe to delete them. // All threads are stopped. Safe to delete them.
ListItem* pItem = NULL; while(_workerThreadsList.First() != NULL)
UdpSocket2WorkerWindows* pWorker;
while((pItem = _workerThreadsList.First()) != NULL)
{ {
_workerThreadsList.PopFront(); _workerThreadsList.PopFront();
} }
@ -211,9 +209,7 @@ bool UdpSocket2ManagerWindows::StartWorkerThreads()
"creating work threads", "creating work threads",
_managerNumber); _managerNumber);
// Delete worker threads. // Delete worker threads.
ListItem* pItem = NULL; while(_workerThreadsList.First() != NULL)
UdpSocket2WorkerWindows* pWorker;
while((pItem = _workerThreadsList.First()) != NULL)
{ {
_workerThreadsList.PopFront(); _workerThreadsList.PopFront();
} }