Resolved Clang warnings about unused variables in object pool implementation.
Resolved Clang warning about comparison of unsigned and signed int.