curl: remove unused variable