Bug 1154 - found’ set but not used, g++ > 4.6.0
found’ set but not used, g++ > 4.6.0
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: network
ns-3-dev
All All
: P5 trivial
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-16 12:32 UTC by John Abraham
Modified: 2011-08-09 19:15 UTC (History)
0 users

See Also:


Attachments
patch (507 bytes, patch)
2011-05-16 12:34 UTC, John Abraham
Details | Diff
patch (507 bytes, patch)
2011-05-16 18:36 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 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