Remove unused variable Sampler._size

2 jobs for coverity in 57 minutes and 42 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Test
passed #4896
amd64
job_clang_amd64

00:57:42

passed #4895
amd64
job_gcc_amd64

00:45:16