Avoid compiler errors like:  error: variable 'xxx' set but not used [-Werror=unused-but-set-variable]

Signed-off-by: Slava Zanko <slavazanko@gmail.com>