Bug 1159 - opt build wifi unused variables
opt build wifi unused variables
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: wifi
ns-3-dev
All All
: P5 trivial
Assigned To: Nicola Baldo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-16 14:34 UTC by John Abraham
Modified: 2011-08-08 08:54 UTC (History)
3 users (show)

See Also:


Attachments
patch (1.41 KB, patch)
2011-05-16 14:35 UTC, John Abraham
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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?