Eliminated compiler warning of unused variables