From: cni Date: Mon, 8 Dec 2008 17:36:58 +0000 (+0000) Subject: Packets/80211Bundle: fix compiler warnings in WLANPacketParser X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=088daffdd823ed156b56a99090717b114e1de147;p=senf.git Packets/80211Bundle: fix compiler warnings in WLANPacketParser git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1006 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/80211Bundle/WLANPacket.cc b/Packets/80211Bundle/WLANPacket.cc index ff4f271..5695f4b 100644 --- a/Packets/80211Bundle/WLANPacket.cc +++ b/Packets/80211Bundle/WLANPacket.cc @@ -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