Fix clang errors in GeneratorInterface.

Remove unused variables.