mirror of https://github.com/OpenRCT2/OpenRCT2.git
Drop unused variables (#19267)
* Drop unused variable in ShortcutKeys.cpp * Drop unused variable in TitleMenu.cpp
This commit is contained in:
parent
d6027a111a
commit
be5b7b7f74
|
@ -370,7 +370,6 @@ private:
|
|||
|
||||
// Create list items with a separator between each group
|
||||
_list.clear();
|
||||
size_t index = 0;
|
||||
std::string group;
|
||||
for (const auto* shortcut : shortcuts)
|
||||
{
|
||||
|
@ -395,7 +394,6 @@ private:
|
|||
ssp.CustomString = shortcut->CustomName;
|
||||
ssp.Binding = shortcut->GetDisplayString();
|
||||
_list.push_back(std::move(ssp));
|
||||
index++;
|
||||
}
|
||||
|
||||
Invalidate();
|
||||
|
|
|
@ -97,7 +97,6 @@ public:
|
|||
widgets[WIDX_MULTIPLAYER].type = WindowWidgetType::Empty;
|
||||
#endif
|
||||
|
||||
WidgetIndex i = 0;
|
||||
int32_t x = 0;
|
||||
for (Widget* widget = widgets; widget != &widgets[WIDX_NEW_VERSION]; widget++)
|
||||
{
|
||||
|
@ -108,7 +107,6 @@ public:
|
|||
|
||||
x += MenuButtonDims.width;
|
||||
}
|
||||
i++;
|
||||
}
|
||||
width = x;
|
||||
widgets[WIDX_NEW_VERSION].right = width;
|
||||
|
|
Loading…
Reference in New Issue