From 6828926a4d4eefef4632e97646f639c8ec24d0ab Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 24 Apr 2015 21:11:51 +0000 Subject: HistoryStats project conversion git-svn-id: http://svn.miranda-ng.org/main/trunk@13110 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/statistic.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'plugins/HistoryStats/src/statistic.cpp') diff --git a/plugins/HistoryStats/src/statistic.cpp b/plugins/HistoryStats/src/statistic.cpp index 85ee17b7be..d4590f5f9e 100644 --- a/plugins/HistoryStats/src/statistic.cpp +++ b/plugins/HistoryStats/src/statistic.cpp @@ -1,4 +1,4 @@ -#include "_globals.h" +#include "stdafx.h" #include "statistic.h" #include @@ -285,7 +285,7 @@ void Statistic::handleAddChat(Contact& contact, bool bOutgoing, DWORD localTimes } } -INT_PTR CALLBACK Statistic::staticProgressProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam) +INT_PTR CALLBACK Statistic::staticProgressProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM) { Statistic* pStats = reinterpret_cast(GetWindowLongPtr(hDlg, GWLP_USERDATA)); @@ -1376,9 +1376,6 @@ DWORD WINAPI Statistic::threadProc(LPVOID lpParameter) SetEvent(pStats->m_hThreadPushEvent); - // perform action - bool bSuccess = pStats->createStatistics(); - // check for errors if (!pStats->m_ErrorText.empty() && !mu::system::terminated()) MessageBox(0, pStats->m_ErrorText.c_str(), TranslateT("HistoryStats - Error"), MB_ICONERROR | MB_OK); @@ -1465,7 +1462,7 @@ Statistic::~Statistic() } } -void Statistic::run(const Settings& settings, InvocationSource invokedFrom, HINSTANCE hInst, HWND hWndParent /* = NULL */) +void Statistic::run(const Settings& settings, InvocationSource invokedFrom, HINSTANCE hInst, HWND) { // check if running and make running if (m_bRunning) { -- cgit v1.2.3