Open requested to merge ZUUL42:Werror_Pamgen into develop
Created by: ZUUL42
This removes a couple of lines that are unused variables and sets Werror for Pamgen.
Motivation and Context
This is work towards #3178 and takes care of #5104.
My commit messages mention the appropriate GitHub issue numbers.
My code follows the code style of the affected package(s).
My change requires a change to the documentation.
I have read the code contribution guidelines for this project.
All new and existing tests passed.
No new compiler warnings were introduced.
These changes break backwards compatibility.