diff options
author | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2022-04-17 23:16:49 +0200 |
---|---|---|
committer | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2022-04-27 19:12:22 +0200 |
commit | 789cc04811e3e2b7e659a0d393850c94b5795ecb (patch) | |
tree | 48c6d26f4f525285e455edbeedece0ba05c29c3d | |
parent | 256371d607c4565d792fb95e3017c12c78008b82 (diff) |
[PVR] CGUIDialogPVRClientPriorities::InitializeSettings: Remove unused variable.
-rw-r--r-- | xbmc/pvr/dialogs/GUIDialogPVRClientPriorities.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xbmc/pvr/dialogs/GUIDialogPVRClientPriorities.cpp b/xbmc/pvr/dialogs/GUIDialogPVRClientPriorities.cpp index 16e8573856..0770efbf8a 100644 --- a/xbmc/pvr/dialogs/GUIDialogPVRClientPriorities.cpp +++ b/xbmc/pvr/dialogs/GUIDialogPVRClientPriorities.cpp @@ -67,13 +67,11 @@ void CGUIDialogPVRClientPriorities::InitializeSettings() return; } - std::shared_ptr<CSetting> setting = nullptr; - CServiceBroker::GetPVRManager().Clients()->GetCreatedClients(m_clients); for (const auto& client : m_clients) { - setting = AddEdit(group, std::to_string(client.second->GetID()), 13205 /* Unknown */, - SettingLevel::Basic, client.second->GetPriority()); + AddEdit(group, std::to_string(client.second->GetID()), 13205 /* Unknown */, SettingLevel::Basic, + client.second->GetPriority()); } } |