diff --git a/test/cfg/windows.cpp b/test/cfg/windows.cpp index 0aa8de5da..721893e67 100644 --- a/test/cfg/windows.cpp +++ b/test/cfg/windows.cpp @@ -14,6 +14,21 @@ #include #include #include +#include + +int ignoredReturnValue__wtoi_l(const wchar_t *str, _locale_t locale) +{ + // cppcheck-suppress ignoredReturnValue + _wtoi_l(str,locale); + return _wtoi_l(str,locale); +} + +int ignoredReturnValue__atoi_l(const char *str, _locale_t locale) +{ + // cppcheck-suppress ignoredReturnValue + _atoi_l(str,locale); + return _atoi_l(str,locale); +} void invalidFunctionArg__fseeki64(FILE* stream, __int64 offset, int origin) {