Deleting unused variables