|
Bugzilla – Full Text Bug Listing |
| Summary: | LteHelper unreachable code | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Tom Henderson <tomh> |
| Component: | lte | Assignee: | Marco Miozzo <mmiozzo> |
| Status: | ASSIGNED --- | ||
| Severity: | normal | CC: | ns-bugs |
| Priority: | P3 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
Robert Ammon reported that Visual Studio complains about the unreachable last statement below. Marco confirms that this is a bug and will follow up. uint8_t LteHelper::ActivateDedicatedEpsBearer (NetDeviceContainer ueDevices, EpsBearer bearer, Ptr<EpcTft> tft) { NS_LOG_FUNCTION (this); for (NetDeviceContainer::Iterator i = ueDevices.Begin (); i != ueDevices.End (); ++i) { uint8_t bearerId = ActivateDedicatedEpsBearer (*i, bearer, tft); return bearerId; } return 0; }