Fix warning on unused variable