--- a/src/lte/model/fdtbfq-ff-mac-scheduler.cc Sun Dec 02 18:08:59 2012 -0800
+++ b/src/lte/model/fdtbfq-ff-mac-scheduler.cc Sat Dec 01 19:08:52 2012 -0500
@@ -502,7 +502,7 @@
// select UE with largest metric
std::map <uint16_t, fdtbfqsFlowPerf_t>::iterator it;
std::map <uint16_t, fdtbfqsFlowPerf_t>::iterator itMax = m_flowStatsDl.end ();
- double metricMax;
+ double metricMax = 0.0;
bool firstRnti = true;
for (it = m_flowStatsDl.begin (); it != m_flowStatsDl.end (); it++)
{
@@ -729,7 +729,7 @@
}
}
- bytesTxedTmp = bytesTxed;
+ bytesTxedTmp = bytesTxed;
bytesTxed = 0;
for (uint8_t j = 0; j < nLayer; j++)
{