View | Details | Raw Unified | Return to bug 1161
Collapse All | Expand All

(-)a/src/flow-monitor/model/ipv4-flow-probe.cc (-1 / +3 lines)
 Lines 327-333    Link Here 
327
  bool tagFound;
327
  bool tagFound;
328
  tagFound = ConstCast<Packet> (ipPayload)->RemovePacketTag (fTag);
328
  tagFound = ConstCast<Packet> (ipPayload)->RemovePacketTag (fTag);
329
  NS_ASSERT_MSG (tagFound, "FlowProbeTag is missing");
329
  NS_ASSERT_MSG (tagFound, "FlowProbeTag is missing");
330
330
  // cast tagFound to void, to suppress 'tagFound' set but not used compiler 
331
  // warning in optimized builds
332
  (void) tagFound;
331
  FlowId flowId = fTag.GetFlowId ();
333
  FlowId flowId = fTag.GetFlowId ();
332
  FlowPacketId packetId = fTag.GetPacketId ();
334
  FlowPacketId packetId = fTag.GetPacketId ();
333
  uint32_t size = fTag.GetPacketSize ();
335
  uint32_t size = fTag.GetPacketSize ();

Return to bug 1161