From aa5c42ffc5bcf8242e326ee00953c59457ee44a0 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Wed, 13 Nov 2019 15:07:57 +0100 Subject: [PATCH] test std.cfg: Addressed comments from https://github.com/danmar/cppcheck/commit/177eed122ad1b05da7fd1ded2d08a0829f59c63e#comments --- test/cfg/std.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/cfg/std.c b/test/cfg/std.c index 6f278789f..7e41ab410 100644 --- a/test/cfg/std.c +++ b/test/cfg/std.c @@ -1660,11 +1660,11 @@ void uninitvar_mbsrtowcs(wchar_t* d, const char** s, size_t m, mbstate_t *p) // cppcheck-suppress uninitvar (void)mbsrtowcs(dest,s,m,p); // cppcheck-suppress uninitvar - (void)mbsrtowcs(dest,&src,m,p); + (void)mbsrtowcs(d,&src,m,p); // cppcheck-suppress uninitvar - (void)mbsrtowcs(dest,s,max,p); + (void)mbsrtowcs(d,s,max,p); // cppcheck-suppress uninitvar - (void)mbsrtowcs(dest,s,m,ps); + (void)mbsrtowcs(d,s,m,ps); // No warning is expected (void)mbsrtowcs(d,s,m,p);