Bug 1154

Summary: found’ set but not used, g++ > 4.6.0
Product: ns-3 Reporter: John Abraham <john.abraham.in>
Component: networkAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch
patch

Description John Abraham 2011-05-16 12:32:46 UTC
[ 693/1561] cxx: src/network/model/socket.cc -> build/optimized/src/network/model/socket_1.o             
../src/network/model/socket.cc: In member function ‘virtual void ns3::Socket::BindToNetDevice(ns3::Ptr<ns3::NetDevice>)’:
../src/network/model/socket.cc:307: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 12:34:12 UTC
Created attachment 1123 [details]
patch
Comment 2 John Abraham 2011-05-16 18:36:38 UTC
Created attachment 1137 [details]
patch