Remove unused variables, fixes the warnings: