MGR: Fix compiler warnings.

This commit is contained in:
Charlie Fenton 2014-06-05 04:15:19 -07:00
parent 869afcaf4e
commit 6246159dd5
2 changed files with 3 additions and 3 deletions

View File

@ -373,7 +373,7 @@ void CBOINCBaseView::OnCheckSelectionChanged(CCheckSelectionChangedEvent& ) {
}
void CBOINCBaseView::OnCacheHint(wxListEvent& event) {
void CBOINCBaseView::OnCacheHint(wxListEvent& ) {
CheckSelectionChanged();
}

View File

@ -500,7 +500,7 @@ void CPaintStatistics::DrawLegend(wxDC &dc, PROJECTS* proj, CMainDocument* pDoc,
const wxCoord buffer_y1 = 3;
const wxCoord buffer_x1 = 3;
int count = -1;
int project_count = -1;
// int project_count = -1;
wxCoord w_temp = 0, h_temp = 0, des_temp = 0, lead_temp = 0;
wxCoord x0 = 0;
wxCoord y0 = 0;
@ -599,7 +599,7 @@ void CPaintStatistics::DrawLegend(wxDC &dc, PROJECTS* proj, CMainDocument* pDoc,
m_scrollBar->SetThumbPosition(m_Legend_Shift);
// Legend Shift (end)
//---------------
project_count = count;
// project_count = count;
count = -1;
m_WorkSpace_X_end -= double(project_name_max_width) + m_Space_for_scrollbar;