Get rid of some unused local variable warnings on Ubuntu.