Bug 1157

Summary: opt build ‘address’ set but not used
Product: ns-3 Reporter: John Abraham <john.abraham.in>
Component: applicationsAssignee: George Riley <riley>
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 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