Removed compile error on unused variable