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:
@@ -527,7 +527,6 @@ void CustomListView::MouseUp(const ScreenCoordsXY& pos)
|
||||
if (!ColumnHeaderPressedCurrentState)
|
||||
{
|
||||
ColumnHeaderPressed = std::nullopt;
|
||||
ColumnHeaderPressedCurrentState = false;
|
||||
Invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user