[HistoryView] Remove a needless variable in the previous commit