Bug 1161 - opt build flow-monitor unused variables
opt build flow-monitor unused variables
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: flow-monitor
ns-3-dev
All All
: P5 trivial
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-16 16:46 UTC by John Abraham
Modified: 2011-08-09 19:17 UTC (History)
1 user (show)

See Also:


Attachments
patch (647 bytes, patch)
2011-05-16 16:47 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 16:46:11 UTC
seen on optimized builds with g++ 4.6.0
Waf: Entering directory `/root/ns-3-test/ns-3-allinone/ns-3-dev/build'
[1080/1561] cxx: src/flow-monitor/model/ipv4-flow-probe.cc -> build/optimized/src/flow-monitor/model/ipv4-flow-probe_1.o                                                                                          
../src/flow-monitor/model/ipv4-flow-probe.cc: In member function ‘void ns3::Ipv4FlowProbe::QueueDropLogger(ns3::Ptr<const ns3::Packet>)’:
../src/flow-monitor/model/ipv4-flow-probe.cc:327:8: error: variable ‘tagFound’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
Comment 1 John Abraham 2011-05-16 16:47:32 UTC
Created attachment 1133 [details]
patch
Comment 2 Gustavo J. A. M. Carneiro 2011-05-18 13:31:12 UTC
(In reply to comment #1)
> Created attachment 1133 [details]
> patch

+1