Cleanup: Compiler warning in release build (unused function)