TS-2291: Fix compiler warning about unused variable.