Remove unused variables to fix build with clang 6 on Linux

This commit is contained in:
Pasquale Imputato
2018-04-27 19:04:55 +02:00
parent 9624c80c37
commit cbf467e9b5
6 changed files with 0 additions and 14 deletions

View File

@@ -54,9 +54,6 @@ public:
*/
typedef void (* TracedValueCallback)(const ValueClassTest oldValue,
const ValueClassTest newValue);
private:
int m_v;
};

View File

@@ -585,7 +585,6 @@ LteEnbMac::DoSubframeIndication (uint32_t frameNo, uint32_t subframeNo)
// --- UPLINK ---
// Send UL-CQI info to the scheduler
std::vector <FfMacSchedSapProvider::SchedUlCqiInfoReqParameters>::iterator itCqi;
for (uint16_t i = 0; i < m_ulCqiReceived.size (); i++)
{
if (subframeNo > 1)

View File

@@ -491,7 +491,6 @@ BSSchedulerRtps::BSSchedulerRTPSConnection (uint32_t &availableSymbols)
Time currentTime = Simulator::Now ();
std::vector<Ptr<WimaxConnection> >::const_iterator iter;
std::vector<Ptr<WimaxConnection> > connections;
std::vector<ServiceFlow*>::iterator iter2;
ServiceFlowRecord *serviceFlowRecord;

View File

@@ -222,7 +222,6 @@ private:
uint8_t m_ttg; ///< TTG
uint8_t m_rtg; ///< RTG
uint32_t m_chnlSwitchFrameNr; ///< channel switch frame number
Mac48Address m_baseStationId; ///< base station ID
uint8_t m_frameDurationCode; ///< frame duration code
uint32_t m_frameNumber; ///< frame number

View File

@@ -306,7 +306,6 @@ SNRToBlockErrorRateManager::GetBlockErrorRate (double SNR, uint8_t modulation)
return 0;
}
std::vector<SNRToBlockErrorRateRecord*>::const_iterator iter;
unsigned int i;
for (i = 0; i < record->size (); i++)
{
@@ -346,7 +345,6 @@ SNRToBlockErrorRateManager::GetSNRToBlockErrorRateRecord (double SNR,
record->at (record->size () - 1)->Copy ();
}
std::vector<SNRToBlockErrorRateRecord*>::const_iterator iter;
unsigned int i;
for (i = 0; i < record->size (); i++)
{

View File

@@ -154,12 +154,6 @@ private:
uint32_t m_size; ///< Number of minislots requested
enum ServiceFlow::SchedulingType m_schedulingType; ///< Scheduling type of flow
uint8_t m_flag; ///< To delete or not
uint8_t m_retryCount; ///< retry count
double m_ugsJitter; ///< The jitter in the grant, valid only for UGS flows
int m_jitterSamples; ///< jitter samples
double m_last_jitterCalTime; ///< Last time avg jitter was calculated
SSRecord *m_ssRecord; ///< Pointer to SSRecord
ReqType m_type; ///< Type of request, DATA or Unicast req slots