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

(-)a/src/internet/model/tcp-socket-base.cc (+3 lines)
 Lines 416-421    Link Here 
416
      bool found;
416
      bool found;
417
      found = packet->PeekPacketTag (tag);
417
      found = packet->PeekPacketTag (tag);
418
      NS_ASSERT (found);
418
      NS_ASSERT (found);
419
      // cast found to void, to suppress ‘found’ set but not used compiler-warning
420
      // for optimized builds
421
      (void) found;
419
      fromAddress = tag.GetAddress ();
422
      fromAddress = tag.GetAddress ();
420
    }
423
    }
421
  return packet;
424
  return packet;
(-)a/src/internet/model/udp-socket-impl.cc (+3 lines)
 Lines 547-552    Link Here 
547
      bool found;
547
      bool found;
548
      found = packet->PeekPacketTag (tag);
548
      found = packet->PeekPacketTag (tag);
549
      NS_ASSERT (found);
549
      NS_ASSERT (found);
550
      // cast found to void, to suppress ‘found’ set but not used compiler-warning
551
      // for optimized builds
552
      (void) found;
550
      fromAddress = tag.GetAddress ();
553
      fromAddress = tag.GetAddress ();
551
    }
554
    }
552
  return packet;
555
  return packet;
(-)a/src/network/utils/packet-socket.cc (+3 lines)
 Lines 441-446    Link Here 
441
      bool found;
441
      bool found;
442
      found = packet->PeekPacketTag (tag);
442
      found = packet->PeekPacketTag (tag);
443
      NS_ASSERT (found);
443
      NS_ASSERT (found);
444
      // cast found to void, to suppress ‘found’ set but not used compiler-warning
445
      // for optimized builds
446
      (void) found;
444
      fromAddress = tag.GetAddress ();
447
      fromAddress = tag.GetAddress ();
445
    }
448
    }
446
  return packet;
449
  return packet;

Return to bug 1155