chg: fixed all -Wunused-variable warnings