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:
parent
3192d655bd
commit
71571c5446
@ -64,9 +64,7 @@ UdpSocket2ManagerWindows::~UdpSocket2ManagerWindows()
|
||||
StopWorkerThreads();
|
||||
|
||||
// All threads are stopped. Safe to delete them.
|
||||
ListItem* pItem = NULL;
|
||||
UdpSocket2WorkerWindows* pWorker;
|
||||
while((pItem = _workerThreadsList.First()) != NULL)
|
||||
while(_workerThreadsList.First() != NULL)
|
||||
{
|
||||
_workerThreadsList.PopFront();
|
||||
}
|
||||
@ -211,9 +209,7 @@ bool UdpSocket2ManagerWindows::StartWorkerThreads()
|
||||
"creating work threads",
|
||||
_managerNumber);
|
||||
// Delete worker threads.
|
||||
ListItem* pItem = NULL;
|
||||
UdpSocket2WorkerWindows* pWorker;
|
||||
while((pItem = _workerThreadsList.First()) != NULL)
|
||||
while(_workerThreadsList.First() != NULL)
|
||||
{
|
||||
_workerThreadsList.PopFront();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user