diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-05 17:20:17 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-03-05 17:20:17 +0000 |
commit | 442db7fbd0e97c334958bb3911685be8e66426ee (patch) | |
tree | 0004ce7ab3012ebf8108ea4f96d46bcec0f8036c /src | |
parent | 6d05dd48c1331973acfac4083fa412db231a17d1 (diff) |
mir_core: fix cppcheck warnings
git-svn-id: http://svn.miranda-ng.org/main/trunk@16433 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_core/src/logger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mir_core/src/logger.cpp b/src/mir_core/src/logger.cpp index f141a1bd1a..4a229c367b 100644 --- a/src/mir_core/src/logger.cpp +++ b/src/mir_core/src/logger.cpp @@ -155,6 +155,7 @@ MIR_C_CORE_DLL(int) mir_writeLogA(HANDLE hLogger, const char *format, ...) va_list args;
va_start(args, format);
vfprintf(p->m_out, format, args);
+ va_end(args);
LARGE_INTEGER li;
QueryPerformanceCounter(&li);
@@ -176,6 +177,7 @@ MIR_C_CORE_DLL(int) mir_writeLogW(HANDLE hLogger, const WCHAR *format, ...) va_list args;
va_start(args, format);
vfwprintf(p->m_out, format, args);
+ va_end(args);
LARGE_INTEGER li;
QueryPerformanceCounter(&li);
|