Bug 1161 - opt build flow-monitor unused variables
This commit is contained in:
@@ -327,7 +327,9 @@ Ipv4FlowProbe::QueueDropLogger (Ptr<const Packet> ipPayload)
|
||||
bool tagFound;
|
||||
tagFound = ConstCast<Packet> (ipPayload)->RemovePacketTag (fTag);
|
||||
NS_ASSERT_MSG (tagFound, "FlowProbeTag is missing");
|
||||
|
||||
// cast tagFound to void, to suppress 'tagFound' set but not used compiler
|
||||
// warning in optimized builds
|
||||
(void) tagFound;
|
||||
FlowId flowId = fTag.GetFlowId ();
|
||||
FlowPacketId packetId = fTag.GetPacketId ();
|
||||
uint32_t size = fTag.GetPacketSize ();
|
||||
|
||||
Reference in New Issue
Block a user