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

(-)a/src/wifi/model/wifi-information-element.cc (+3 lines)
 Lines 55-60    Link Here 
55
  // This IE was not optional, so confirm that we did actually
55
  // This IE was not optional, so confirm that we did actually
56
  // deserialise something.
56
  // deserialise something.
57
  NS_ASSERT (i.GetDistanceFrom (start) != 0);
57
  NS_ASSERT (i.GetDistanceFrom (start) != 0);
58
  // cast start to void, to suppress ‘start’ set but not used
59
  // compiler warning in optimized builds
60
  (void) start;
58
  return i;
61
  return i;
59
}
62
}
60
63
(-)a/src/wifi/model/wifi-remote-station-manager.cc (+6 lines)
 Lines 368-373    Link Here 
368
      bool found;
368
      bool found;
369
      found = ConstCast<Packet> (packet)->PeekPacketTag (tag);
369
      found = ConstCast<Packet> (packet)->PeekPacketTag (tag);
370
      NS_ASSERT (found);
370
      NS_ASSERT (found);
371
      // cast found to void, to suppress 'found' set but not used
372
      // compiler warning
373
      (void) found;
371
      return tag.GetDataMode ();
374
      return tag.GetDataMode ();
372
    }
375
    }
373
  return DoGetDataMode (Lookup (address, header), fullPacketSize);
376
  return DoGetDataMode (Lookup (address, header), fullPacketSize);
 Lines 383-388    Link Here 
383
      bool found;
386
      bool found;
384
      found = ConstCast<Packet> (packet)->PeekPacketTag (tag);
387
      found = ConstCast<Packet> (packet)->PeekPacketTag (tag);
385
      NS_ASSERT (found);
388
      NS_ASSERT (found);
389
      // cast found to void, to suppress 'found' set but not used
390
      // compiler warning
391
      (void) found;
386
      return tag.GetRtsMode ();
392
      return tag.GetRtsMode ();
387
    }
393
    }
388
  return DoGetRtsMode (Lookup (address, header));
394
  return DoGetRtsMode (Lookup (address, header));

Return to bug 1159