warn about unused variables, remove two of such