target: Remove unused variable 'has_percent'