Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(254)

Unified Diff: src/lte/model/lte-rlc-tm.cc

Issue 338840043: Eliminate Visual Studio compiler warnings (Closed)
Patch Set: Update patch with latest module changes. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/lte/model/lte-rlc-tm.cc
===================================================================
--- a/src/lte/model/lte-rlc-tm.cc
+++ b/src/lte/model/lte-rlc-tm.cc
@@ -114,6 +114,8 @@
LteRlcTm::DoNotifyTxOpportunity (uint32_t bytes, uint8_t layer, uint8_t harqId, uint8_t componentCarrierId, uint16_t rnti, uint8_t lcid)
{
NS_LOG_FUNCTION (this << m_rnti << (uint32_t) m_lcid << bytes << (uint32_t) layer << (uint32_t) harqId);
+ NS_UNUSED (rnti);
+ NS_UNUSED (lcid);
// 5.1.1.1 Transmit operations
// 5.1.1.1.1 General
@@ -171,6 +173,8 @@
LteRlcTm::DoReceivePdu (Ptr<Packet> p, uint16_t rnti, uint8_t lcid)
{
NS_LOG_FUNCTION (this << m_rnti << (uint32_t) m_lcid << p->GetSize ());
+ NS_UNUSED (rnti);
+ NS_UNUSED (lcid);
// Receiver timestamp
RlcTag rlcTag;
@@ -209,7 +213,7 @@
r.rnti = m_rnti;
r.lcid = m_lcid;
r.txQueueSize = queueSize;
- r.txQueueHolDelay = holDelay.GetMilliSeconds () ;
+ r.txQueueHolDelay = static_cast<uint16_t> (holDelay.GetMilliSeconds ());
r.retxQueueSize = 0;
r.retxQueueHolDelay = 0;
r.statusPduSize = 0;

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b