Author: tfaber
Date: Wed Apr 6 12:34:26 2016
New Revision: 71107
URL:
http://svn.reactos.org/svn/reactos?rev=71107&view=rev
Log:
[CRT_APITEST]
- Add missing va_end. Patch by Víctor Martínez Calvo.
ROSTESTS-221 #resolve
Modified:
trunk/rostests/apitests/crt/_vscprintf.c
trunk/rostests/apitests/crt/_vscwprintf.c
trunk/rostests/apitests/crt/_vsnprintf.c
trunk/rostests/apitests/crt/_vsnwprintf.c
Modified: trunk/rostests/apitests/crt/_vscprintf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/crt/_vscprintf.c…
==============================================================================
--- trunk/rostests/apitests/crt/_vscprintf.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/crt/_vscprintf.c [iso-8859-1] Wed Apr 6 12:34:26 2016
@@ -17,6 +17,7 @@
/* 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);
}
Modified: trunk/rostests/apitests/crt/_vscwprintf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/crt/_vscwprintf.…
==============================================================================
--- trunk/rostests/apitests/crt/_vscwprintf.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/crt/_vscwprintf.c [iso-8859-1] Wed Apr 6 12:34:26 2016
@@ -17,6 +17,7 @@
/* 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);
}
Modified: trunk/rostests/apitests/crt/_vsnprintf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/crt/_vsnprintf.c…
==============================================================================
--- trunk/rostests/apitests/crt/_vsnprintf.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/crt/_vsnprintf.c [iso-8859-1] Wed Apr 6 12:34:26 2016
@@ -20,6 +20,7 @@
/* 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);
}
Modified: trunk/rostests/apitests/crt/_vsnwprintf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/crt/_vsnwprintf.…
==============================================================================
--- trunk/rostests/apitests/crt/_vsnwprintf.c [iso-8859-1] (original)
+++ trunk/rostests/apitests/crt/_vsnwprintf.c [iso-8859-1] Wed Apr 6 12:34:26 2016
@@ -20,6 +20,7 @@
/* 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);
}