This also updates various indices and counters from int to size_t to
pacify resulting -Wsign-compare warnings.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 47647 Build 44534: arc lint + arc unit
Event Timeline
usr.bin/rs/rs.cc | ||
---|---|---|
186 | Nothing seemed to depend on this NULL being present, and nelem doesn't include it. | |
323 | This seems like dead code. At line 280 above in the old code we set nelem to n above. The only way we wouldn't execute that line was if lp already fit which would imply that nelem was greater than orows * ocols on function entry. Either way, nelem would never be larger than n if the RECYCLE flag was set. |