Fix warnings: unused variables.