remove unused local vars
Merge pull request #1083 from ceeram/2.3-pmdvars

Remove unused local vars.