1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 04:23:20 +01:00

Remove redundant assignment in CustomListView::MouseUp

Reported by PVS-Studio (Warning: V1048).

Fix 7/7.

Issue: 12523
This commit is contained in:
Vinicius Sa
2020-10-02 22:37:02 -03:00
parent c6b7893d77
commit 22a1df32d7

View File

@@ -527,7 +527,6 @@ void CustomListView::MouseUp(const ScreenCoordsXY& pos)
if (!ColumnHeaderPressedCurrentState)
{
ColumnHeaderPressed = std::nullopt;
ColumnHeaderPressedCurrentState = false;
Invalidate();
}
}