Fix never read

Executing 'scan-build make' reports some 'stored, but never read variables' warnings.