Remove an unused variable

This fixes build warnings when building for OS X with clang.