cppcheck (removing unused assignment lets variable scope reduction)

Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
6 jobs for cppcheck-fixes in 2 minutes and 23 seconds (queued for 2 seconds)