Remove unused variable to eliminate compiler warnings