fix maybe-uninitialized warnings

This commit is contained in:
Tom Henderson
2012-08-30 12:08:46 -07:00
parent 73e12fea1d
commit 4f4860d5db
2 changed files with 2 additions and 2 deletions

View File

@@ -1138,7 +1138,7 @@ PfFfMacScheduler::DoSchedUlCqiInfoReq (const struct FfMacSchedSapProvider::Sched
case UlCqi_s::SRS:
{
// get the RNTI from vendor specific parameters
uint16_t rnti;
uint16_t rnti = 0;
NS_ASSERT (params.m_vendorSpecificList.size () > 0);
for (uint16_t i = 0; i < params.m_vendorSpecificList.size (); i++)
{

View File

@@ -940,7 +940,7 @@ RrFfMacScheduler::DoSchedUlCqiInfoReq (const struct FfMacSchedSapProvider::Sched
case UlCqi_s::SRS:
{
// get the RNTI from vendor specific parameters
uint16_t rnti;
uint16_t rnti = 0;
NS_ASSERT (params.m_vendorSpecificList.size () > 0);
for (uint16_t i = 0; i < params.m_vendorSpecificList.size (); i++)
{