remove unused variables (and the gcc warnings)

see https://github.com/cooperative-computing-lab/cctools/issues/370