From 0b57bc35279c37f79bc94d5ab3f4277b9d66c10a Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 6 Apr 2022 05:18:11 -0700 Subject: [PATCH] Remove dead code --- clientgui/sg_ProjectPanel.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/clientgui/sg_ProjectPanel.cpp b/clientgui/sg_ProjectPanel.cpp index 3a2c645464..46cdf511e6 100644 --- a/clientgui/sg_ProjectPanel.cpp +++ b/clientgui/sg_ProjectPanel.cpp @@ -298,7 +298,6 @@ void CSimpleProjectPanel::ReskinInterface() { CMainDocument* pDoc = wxGetApp().GetDocument(); ProjectSelectionData* selData; - PROJECT* project __attribute__((unused)); char* ctrl_url; CSimplePanelBase::ReskinInterface(); @@ -308,7 +307,6 @@ void CSimpleProjectPanel::ReskinInterface() { for(int j=0; jGetClientData(j); ctrl_url = selData->project_url; - project = pDoc->state.lookup_project(ctrl_url); wxBitmap* projectBM = GetProjectSpecificBitmap(ctrl_url); m_ProjectSelectionCtrl->SetItemBitmap(j, *projectBM); }