diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-10 10:49:31 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-10 10:49:31 +0200 |
| commit | a9b9ed95f39cff40710e74ed81fdedee1cfad9e2 (patch) | |
| tree | acd01294ad1ae6f88b7515d6a6d8ac790f444f1d /src/base_tab/BaseImportTab.cpp | |
| parent | ff671f2171396088210600bab39ad9631e0d1daf (diff) | |
Remove all warnings from source code
Diffstat (limited to 'src/base_tab/BaseImportTab.cpp')
| -rw-r--r-- | src/base_tab/BaseImportTab.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base_tab/BaseImportTab.cpp b/src/base_tab/BaseImportTab.cpp index 3e93633..13ded29 100644 --- a/src/base_tab/BaseImportTab.cpp +++ b/src/base_tab/BaseImportTab.cpp @@ -26,6 +26,7 @@ TabBase_TabImport(parent), main_tab(main_tab), base(db) } void BaseImportTab::OnImportDatabase(wxCommandEvent &event){ + UNUSED(event); if(std::find(databases_to_import.begin(), databases_to_import.end(), selected_base->GetFilePath()) == databases_to_import.end()){ databases_to_import.push_back(selected_base->GetFilePath()); selected_games_to_import.erase(selected_base->GetFilePath()); @@ -72,6 +73,7 @@ void BaseImportTab::RefreshImportLists(){ } void BaseImportTab::OnImportSelection(wxCommandEvent &event){ + UNUSED(event); if(std::find(databases_to_import.begin(), databases_to_import.end(), selected_base->GetFilePath()) == databases_to_import.end()){ long selected = -1; while ((selected = game_list->GetNextItem(selected, wxLIST_NEXT_ALL, @@ -96,6 +98,7 @@ void BaseImportTab::OnImportSelection(wxCommandEvent &event){ } void BaseImportTab::OnImportGame(wxCommandEvent &event){ + UNUSED(event); TabInfos *game_tab=(TabInfos*)opened_game_list->GetClientData(opened_game_list->GetSelection()); std::shared_ptr<Game> g=game_tab->GetGame(); if(std::find(games_to_import.begin(), games_to_import.end(), g) == games_to_import.end()){ wxLogDebug("Import!"); @@ -106,6 +109,7 @@ void BaseImportTab::OnImportGame(wxCommandEvent &event){ } void BaseImportTab::OnLoad(wxCommandEvent &event){ + UNUSED(event); TabInfos *game_tab=(TabInfos*)opened_db_list->GetClientData(opened_db_list->GetSelection()); // Load all games (for now :) |
