Fix warning: remove unused variables.