Bugzilla – Bug 1159
opt build wifi unused variables
Last modified: 2011-08-08 08:54:08 UTC
../src/wifi/model/wifi-remote-station-manager.cc: In member function ‘ns3::WifiMode ns3::WifiRemoteStationManager::GetDataMode(ns3::Mac48Address, const ns3::WifiMacHeader*, ns3::Ptr<const ns3::Packet>, uint32_t)’: ../src/wifi/model/wifi-remote-station-manager.cc:368:12: error: variable ‘found’ set but not used [-Werror=unused-but-set-variable] ../src/wifi/model/wifi-remote-station-manager.cc: In member function ‘ns3::WifiMode ns3::WifiRemoteStationManager::GetRtsMode(ns3::Mac48Address, const ns3::WifiMacHeader*, ns3::Ptr<const ns3::Packet>)’: ../src/wifi/model/wifi-remote-station-manager.cc:383:12: error: variable ‘found’ set but not used [-Werror=unused-but-set-variable] cc1plus: all warnings being treated as errors
Created attachment 1131 [details] patch
+1, feel free to push it as soon as our release manager allows it.
Hi John, can we mark this as closed? Or is the change still pending?