[map] Fix unused variable warning

Fixes the following warning:
````
map/framework.cpp:2252:12: warning: variable ‘rect’ set but not used [-Wunused-but-set-variable]
````

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
This commit is contained in:
Ferenc Géczi 2024-12-18 00:00:00 +00:00 committed by Konstantin Pastbin
parent aa3e07c33f
commit 58df08f390

View file

@ -2250,7 +2250,7 @@ place_page::Info Framework::BuildPlacePageInfo(place_page::BuildInfo const & bui
{
auto const & track = *GetBookmarkManager().GetTrack(buildInfo.m_trackId);
auto rect = track.GetLimitRect();
track.UpdateSelectionInfo(track.GetLimitRect(), trackSelectionInfo);
track.UpdateSelectionInfo(rect, trackSelectionInfo);
}
else
trackSelectionInfo = FindTrackInTapPosition(buildInfo);