src/wifi/model/wifi-remote-station-manager.cc
changeset 7227 9f045cf89be4
parent 7141 072fb225b714
child 7385 10beb0e53130
equal deleted inserted replaced
7226:6396b9384525 7227:9f045cf89be4
   366     {
   366     {
   367       TxModeTag tag;
   367       TxModeTag tag;
   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);
   374 }
   377 }
   375 WifiMode
   378 WifiMode
   381     {
   384     {
   382       TxModeTag tag;
   385       TxModeTag tag;
   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));
   389 }
   395 }
   390 void
   396 void