Warning fixes

This commit is contained in:
Connor McLaughlin
2021-07-07 19:53:10 +10:00
parent 2cf6e8f5c9
commit 8f3162675f
3 changed files with 4 additions and 7 deletions

View File

@ -1036,7 +1036,6 @@ void RightAlignNavButtons(u32 num_items /*= 0*/, float item_width /*= LAYOUT_MEN
float item_height /*= LAYOUT_MENU_BUTTON_HEIGHT_NO_SUMMARY*/)
{
ImGuiWindow* window = ImGui::GetCurrentWindow();
const ImVec2 window_size(ImGui::GetWindowSize());
const ImGuiStyle& style = ImGui::GetStyle();
const float total_item_width =