Remove some errors for use in slc6 gcc472 where -Werror=unused-variable is set.