Remove unused variables as noted by the Clang 3.4 static analyzer.