diff --git a/cfg/windows.cfg b/cfg/windows.cfg index 44e4cdc15..52a41f37e 100644 --- a/cfg/windows.cfg +++ b/cfg/windows.cfg @@ -5418,6 +5418,7 @@ HFONT CreateFont( + diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp index 84f0ef7b5..08755dde5 100644 --- a/test/cfg/windows.cpp +++ b/test/cfg/windows.cpp @@ -839,7 +839,7 @@ error_t uninitvar__strncpy_s_l(char *strDest, size_t numberOfElements, const cha // cppcheck-suppress uninitvar (void)_strncpy_s_l(strDest, numberOfElements, strSource, uninit_count, locale); // cppcheck-suppress uninitvar - (void)_strncpy_s_l(strDest, numberOfElements, strSource, uninit_count, uninit_locale); + (void)_strncpy_s_l(strDest, numberOfElements, strSource, count, uninit_locale); // no warning shall be shown for return _strncpy_s_l(strDest, numberOfElements, strSource, count, locale);