From 2548065ebc5da2a8778cd4f49343b847773ee174 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Aug 2015 15:39:23 +0000 Subject: 'unreferenced formal parameter' warnings fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@14913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TrafficCounter/src/statistics.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/TrafficCounter/src/statistics.cpp') diff --git a/plugins/TrafficCounter/src/statistics.cpp b/plugins/TrafficCounter/src/statistics.cpp index d8ef8fac80..511b6344b5 100644 --- a/plugins/TrafficCounter/src/statistics.cpp +++ b/plugins/TrafficCounter/src/statistics.cpp @@ -298,7 +298,7 @@ void Stat_ReadFile(BYTE n) LARGE_INTEGER Size; DWORD BytesRead; TCHAR FileName[MAX_PATH], *pszPath; - SYSTEMTIME stNow, stLast = { 0 }; + SYSTEMTIME stNow; pszPath = Utils_ReplaceVarsT(_T("%miranda_userdata%\\statistics")); CreateDirectoryTreeT(pszPath); @@ -608,7 +608,8 @@ DWORD Stat_GetItemValue(WORD SelectedAccs, BYTE Interval, DWORD ItemNum, BYTE Su } IndexM++; IndexP++; // Переходим к следующей записи. - if (IndexM == ProtoList[a].NumberOfRecords) break; + if (IndexM == ProtoList[a].NumberOfRecords) + break; // Когда остановиться? switch (Interval) { -- cgit v1.2.3