HPCC-10873 Remove some unused variables

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>