Fix clang-diagnostics-unused-but-set-variable warnings
This commit is contained in:
@@ -137,8 +137,6 @@ NullMessageSimulatorImpl::CalculateLookAhead()
|
||||
{
|
||||
NS_LOG_FUNCTION(this);
|
||||
|
||||
int num_local_nodes = 0;
|
||||
|
||||
if (MpiInterface::GetSize() > 1)
|
||||
{
|
||||
NodeContainer c = NodeContainer::GetGlobal();
|
||||
@@ -149,8 +147,6 @@ NullMessageSimulatorImpl::CalculateLookAhead()
|
||||
continue;
|
||||
}
|
||||
|
||||
num_local_nodes++;
|
||||
|
||||
for (uint32_t i = 0; i < (*iter)->GetNDevices(); ++i)
|
||||
{
|
||||
Ptr<NetDevice> localNetDevice = (*iter)->GetDevice(i);
|
||||
|
||||
Reference in New Issue
Block a user