Revert commit [c259eaefdd7f]. Make compiler happy.
authorAndrey Mazo <mazo@iitp.ru>
Fri, 15 May 2009 13:52:35 +0400
changeset 5008 9650fb0087d2
parent 5007 d301d973792d
child 5009 ac0ea6c1e012
Revert commit [c259eaefdd7f]. Make compiler happy.
src/devices/mesh/dot11s/hwmp-mac-plugin.cc
--- a/src/devices/mesh/dot11s/hwmp-mac-plugin.cc	Thu May 14 16:32:15 2009 +0400
+++ b/src/devices/mesh/dot11s/hwmp-mac-plugin.cc	Fri May 15 13:52:35 2009 +0400
@@ -135,7 +135,11 @@
     return true;
   HwmpTag tag;
   bool tagExists = packet->RemovePacketTag(tag);
-  NS_ASSERT (tagExists);
+  if (!tagExists)
+  {
+     //do it this way to silence compiler
+     NS_ASSERT (false);
+  }
   
   MeshHeader meshHdr;
   meshHdr.SetMeshSeqno(tag.GetSeqno());