Bug 1157 - opt build ‘address’ set but not used
opt build ‘address’ set but not used
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: applications
ns-3-dev
All All
: P5 trivial
Assigned To: George Riley
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-16 13:52 UTC by John Abraham
Modified: 2011-08-09 19:15 UTC (History)
1 user (show)

See Also:


Attachments
patch (3.25 KB, patch)
2011-05-16 14:06 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 13:52:14 UTC
[ 864/1561] cxx: src/applications/model/packet-sink.cc -> build/optimized/src/applications/model/packet-sink_1.o                                                                                                  
../src/applications/model/packet-sink.cc: In member function ‘void ns3::PacketSink::HandleRead(ns3::Ptr<ns3::Socket>)’:
../src/applications/model/packet-sink.cc:167:29: error: variable ‘address’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
Comment 1 John Abraham 2011-05-16 14:06:11 UTC
Created attachment 1128 [details]
patch