Compiler warning of unused variable fixed.