From 6246159dd58011b3304c465ad96ae2eafcaaf19a Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Thu, 5 Jun 2014 04:15:19 -0700 Subject: [PATCH] MGR: Fix compiler warnings. --- clientgui/BOINCBaseView.cpp | 2 +- clientgui/ViewStatistics.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/clientgui/BOINCBaseView.cpp b/clientgui/BOINCBaseView.cpp index 29045289f1..acb05b9235 100644 --- a/clientgui/BOINCBaseView.cpp +++ b/clientgui/BOINCBaseView.cpp @@ -373,7 +373,7 @@ void CBOINCBaseView::OnCheckSelectionChanged(CCheckSelectionChangedEvent& ) { } -void CBOINCBaseView::OnCacheHint(wxListEvent& event) { +void CBOINCBaseView::OnCacheHint(wxListEvent& ) { CheckSelectionChanged(); } diff --git a/clientgui/ViewStatistics.cpp b/clientgui/ViewStatistics.cpp index 7a45a6fde1..04b2aa24a0 100644 --- a/clientgui/ViewStatistics.cpp +++ b/clientgui/ViewStatistics.cpp @@ -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;