Remove unused var.
Fix compilation on GCC and Clang.