Remove warning on unused variable