diff options
Diffstat (limited to 'plugins/TrafficCounter/src/statistics.cpp')
-rw-r--r-- | plugins/TrafficCounter/src/statistics.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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) {
|