author | Tom Henderson <tomh@tomh.org> |
Mon, 21 May 2012 06:57:19 -0700 | |
changeset 8784 | d1201ff72e0c |
parent 8783 | c21471f83747 |
child 8785 | 5b5cb5261865 |
--- a/src/dsr/model/dsr-routing.cc Mon May 21 11:46:59 2012 +0200 +++ b/src/dsr/model/dsr-routing.cc Mon May 21 06:57:19 2012 -0700 @@ -1527,7 +1527,7 @@ } else { - uint32_t totalQueueSize; + uint32_t totalQueueSize = 0; for (std::map<uint32_t, Ptr<dsr::DsrNetworkQueue> >::iterator j = m_priorityQueue.begin (); j != m_priorityQueue.end (); j++) { NS_LOG_DEBUG ("The size of the network queue for " << j->first << " is " << j->second->GetSize ());