(style) reduce the scope of variables
(style) reduce the scope of variables

drop cppcheck minor warn. if this is OK for the maintainer
I will apply it everywhere in popt and rpm. Let's see.

devzero2000/POPT,GerHobbelt/POPT,flatzo/popt,flatzo/popt,devzero2000/POPT,GerHobbelt/POPT,devzero2000/POPT,GerHobbelt/POPT