Fixed unused variable in the potential header generators.