Remove unused variable 'size'

Hi guys,

I don't know what's the plan with this variable but currently it's unused and there is -Werror compiler flag active.