Remove dead code

This commit is contained in:
Charlie Fenton 2022-04-06 05:18:11 -07:00
parent 3e72cbb3c6
commit 0b57bc3527
1 changed files with 0 additions and 2 deletions

View File

@ -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; j<ctrlCount; j++) {
selData = (ProjectSelectionData*)m_ProjectSelectionCtrl->GetClientData(j);
ctrl_url = selData->project_url;
project = pDoc->state.lookup_project(ctrl_url);
wxBitmap* projectBM = GetProjectSpecificBitmap(ctrl_url);
m_ProjectSelectionCtrl->SetItemBitmap(j, *projectBM);
}