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 Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.bin/rs/rs.cc | ||
---|---|---|
181 | Nothing seemed to depend on this NULL being present, and nelem doesn't include it. | |
318 | 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. |