diff options
author | rtk0c <[email protected]> | 2021-06-30 11:53:50 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-06-30 11:53:50 -0700 |
commit | c2c9452cdd6f50923c02d59c68087add8d17f03a (patch) | |
tree | daad31af4f828cb7396da64dc33488c3d7698a4f /core/src/UI/UI_Items.cpp | |
parent | 782e95613da7fb2eb7a2fe9c3c9fbb5b6f756b09 (diff) |
Fix notable warnings (from gcc)
Diffstat (limited to 'core/src/UI/UI_Items.cpp')
-rw-r--r-- | core/src/UI/UI_Items.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/UI/UI_Items.cpp b/core/src/UI/UI_Items.cpp index 2685c82..5b84cb8 100644 --- a/core/src/UI/UI_Items.cpp +++ b/core/src/UI/UI_Items.cpp @@ -32,8 +32,6 @@ ActionResult ItemEditor(ItemList<T>& list, T* item) t.GetEmail(); }; - auto& gs = GlobalStates::GetInstance(); - static bool duplicateName = false; static std::string name; @@ -116,8 +114,6 @@ void ItemListEntries(ItemList<T>& list, int& selectedIdx) }; constexpr int kColumns = 1 /* Name column */ + kHasDescription + kHasEmail + kHasStock + kHasPrice; - auto& gs = GlobalStates::GetInstance(); - if (ImGui::BeginTable("", kColumns, ImGuiTableFlags_Borders)) { ImGui::TableSetupColumn(I18N_TEXT("Name", L10N_ITEM_COLUMN_NAME)); |