Remove unused local variable to fix a warning.