Bug 2540 - dead assignment on ie-dot11s-perr.cc
dead assignment on ie-dot11s-perr.cc
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: mesh
unspecified
PC Linux
: P5 minor
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-06 06:01 UTC by natale.patriciello
Modified: 2016-11-16 08:46 UTC (History)
1 user (show)

See Also:


Attachments
patch (835 bytes, patch)
2016-11-06 06:01 UTC, natale.patriciello
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description natale.patriciello 2016-11-06 06:01:15 UTC
Created attachment 2658 [details]
patch

the parameter length is read only in debug and release mode. By adding this, it's read even in optimized build (NS_ABORT are not optimized away, right?)
Comment 1 Tom Henderson 2016-11-07 13:44:35 UTC
Yes, ABORT macros are evaluated in optimized builds.
Comment 2 natale.patriciello 2016-11-16 08:46:57 UTC
Fixed in 12412:32423cccdfd1