Bug 1160

Summary: optimized build ‘plugin’ set but not used, g++ > 4.6.0
Product: ns-3 Reporter: John Abraham <john.abraham.in>
Component: meshAssignee: Kirill Andreev <andreev>
Status: RESOLVED FIXED    
Severity: trivial CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch

Description John Abraham 2011-05-16 16:39:48 UTC
[ 986/1561] cxx: src/mesh/model/dot11s/peer-management-protocol.cc -> build/optimized/src/mesh/model/dot11s/peer-management-protocol_1.o                                                                          
../src/mesh/model/dot11s/peer-management-protocol.cc: In member function ‘void ns3::dot11s::PeerManagementProtocol::DoShiftBeacon(uint32_t)’:
../src/mesh/model/dot11s/peer-management-protocol.cc:386:48: error: variable ‘plugin’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
Comment 1 John Abraham 2011-05-16 16:41:26 UTC
Created attachment 1132 [details]
patch
Comment 2 Kirill Andreev 2011-06-02 11:51:57 UTC
Fixed in NS-3.11 relesae