From 3af7aef3f09bc2301214e63bde1737ccccfc2a1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 19 Mar 2018 16:25:44 +0100 Subject: [PATCH] update generated cfg tests (aca16e3) --- test/cfg/generated-cfg-tests-windows.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/cfg/generated-cfg-tests-windows.cpp b/test/cfg/generated-cfg-tests-windows.cpp index c78396724..70eacedf5 100644 --- a/test/cfg/generated-cfg-tests-windows.cpp +++ b/test/cfg/generated-cfg-tests-windows.cpp @@ -8885,17 +8885,17 @@ void test___swab__arg1__notnull() { _swab(NULL, arg2, arg3); } +void test___swab__arg1__notuninit() { + int x[10]; + // cppcheck-suppress uninitvar + _swab(x, arg2, arg3); +} + void test___swab__arg2__notnull() { // cppcheck-suppress nullPointer _swab(arg1, NULL, arg3); } -void test___swab__arg2__notuninit() { - int x[10]; - // cppcheck-suppress uninitvar - _swab(arg1, x, arg3); -} - void test___swab__arg3__notbool() { // cppcheck-suppress invalidFunctionArgBool _swab(arg1, arg2, !x);