Remove some unused local variables.