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

Unified Diff: src/lte/model/lte-rrc-protocol-ideal.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-rrc-protocol-ideal.cc
===================================================================
--- a/src/lte/model/lte-rrc-protocol-ideal.cc
+++ b/src/lte/model/lte-rrc-protocol-ideal.cc
@@ -97,6 +97,7 @@
LteUeRrcProtocolIdeal::DoSetup (LteUeRrcSapUser::SetupParameters params)
{
NS_LOG_FUNCTION (this);
+ NS_UNUSED (params);
// We don't care about SRB0/SRB1 since we use ideal RRC messages.
}
@@ -283,6 +284,7 @@
LteEnbRrcProtocolIdeal::DoSetupUe (uint16_t rnti, LteEnbRrcSapUser::SetupUeParameters params)
{
NS_LOG_FUNCTION (this << rnti);
+ NS_UNUSED (params);
// // walk list of all nodes to get the peer UE RRC SAP Provider
// Ptr<LteUeRrc> ueRrc;
@@ -343,7 +345,7 @@
Ptr<LteUeNetDevice> ueDev = node->GetDevice (j)->GetObject <LteUeNetDevice> ();
if (ueDev != 0)
{
- Ptr<LteUeRrc> ueRrc = ueDev->GetRrc ();
+ ueRrc = ueDev->GetRrc ();
NS_LOG_LOGIC ("considering UE IMSI " << ueDev->GetImsi () << " that has cellId " << ueRrc->GetCellId ());
if (ueRrc->GetCellId () == cellId)
{

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