compile warnings due to unused variables

Just a few unused variables leftovers..