Packets/80211Bundle: fix compiler warnings in WLANPacketParser
cni [Mon, 8 Dec 2008 17:36:58 +0000 (17:36 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1006 270642c3-0616-0410-b53a-bc976706d245

Packets/80211Bundle/WLANPacket.cc

index ff4f271..5695f4b 100644 (file)
@@ -49,6 +49,9 @@ prefix_ senf::MACAddressParser senf::WLANPacketParser_DataFrameParser::da()
         return addr3();
         break;
     }
+    //just to avoid compiler warning
+    //TODO
+    return addr1();
 }
 
 prefix_ senf::MACAddressParser senf::WLANPacketParser_DataFrameParser::sa()
@@ -67,6 +70,9 @@ prefix_ senf::MACAddressParser senf::WLANPacketParser_DataFrameParser::sa()
 //    case 3:
 //        return addr4();
     }
+    //just to avoid compiler warning
+    //TODO
+    return addr1();
 }
 
 prefix_ senf::MACAddressParser senf::WLANPacketParser_DataFrameParser::bssid()
@@ -83,6 +89,9 @@ prefix_ senf::MACAddressParser senf::WLANPacketParser_DataFrameParser::bssid()
     case 2:
         return addr2();
     }
+    //just to avoid compiler warning
+    //TODO
+    return addr1();
 }
 
 //shift some bits to read the 12bit sequence number bit field in LSB byte order