[CRT_APITEST]

- Add missing va_end. Patch by Víctor Martínez Calvo.
ROSTESTS-221 #resolve

svn path=/trunk/; revision=71107
This commit is contained in:
Thomas Faber
2016-04-06 12:34:26 +00:00
parent 1a15d6a55c
commit 3d165be77b
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ static void call_varargs(int expected_ret, LPCSTR formatString, ...)
/* Test the basic functionality */
va_start(args, formatString);
ret = _vscprintf(formatString, args);
va_end(args);
ok(expected_ret == ret, "Test failed: expected %i, got %i.\n", expected_ret, ret);
}
+1
View File
@@ -17,6 +17,7 @@ static void call_varargs(int expected_ret, LPCWSTR formatString, ...)
/* Test the basic functionality */
va_start(args, formatString);
ret = _vscwprintf(formatString, args);
va_end(args);
ok(expected_ret == ret, "expected %i, got %i.\n", expected_ret, ret);
}
+1
View File
@@ -20,6 +20,7 @@ static void call_varargs(char* buf, size_t buf_size, int expected_ret, LPCSTR fo
/* Test the basic functionality */
va_start(args, formatString);
ret = _vsnprintf(buf, buf_size, formatString, args);
va_end(args);
ok(expected_ret == ret, "Test failed: expected %i, got %i.\n", expected_ret, ret);
}
+1
View File
@@ -20,6 +20,7 @@ static void call_varargs(wchar_t* buf, size_t buf_size, int expected_ret, LPCWST
/* Test the basic functionality */
va_start(args, formatString);
ret = _vsnwprintf(buf, buf_size, formatString, args);
va_end(args);
ok(expected_ret == ret, "Test failed: expected %i, got %i.\n", expected_ret, ret);
}