Removed warning from unused variable