Bug 1159

Summary: opt build wifi unused variables
Product: ns-3 Reporter: John Abraham <john.abraham.in>
Component: wifiAssignee: Nicola Baldo <nicola>
Status: RESOLVED FIXED    
Severity: trivial CC: john.abraham.in, ns-bugs, ruben
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch

Description John Abraham 2011-05-16 14:34:37 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
Comment 1 John Abraham 2011-05-16 14:35:27 UTC
Created attachment 1131 [details]
patch
Comment 2 Nicola Baldo 2011-05-17 05:43:30 UTC
+1, feel free to push it as soon as our release manager allows it.
Comment 3 Nicola Baldo 2011-08-08 08:46:09 UTC
Hi John, 

can we mark this as closed? Or is the change still pending?