fix warnings reg. unused (but set) variables

the hunt continues :-)