[ML] Comment unused function argument.
[IO] Remove unused variable.
ShapeLib: correct unsigned < 0 comparison.

Comparison of unsigned expression < 0 is always false.