Cosmetics

add code to remove compile warning due to -Wunused-but-set-variable