Remove unused variable 'size'