kernel32/tests: Remove an unneeded sprintf() in the process tests.

The buffer content is not used before being overwritten again.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2020-03-22 14:19:36 +01:00 committed by Alexandre Julliard
parent 9d38c4864c
commit f08abe0811
1 changed files with 0 additions and 1 deletions

View File

@ -1036,7 +1036,6 @@ static void test_CommandLine(void)
WritePrivateProfileStringA(NULL, NULL, NULL, resfile);
CloseHandle(info.hThread);
CloseHandle(info.hProcess);
sprintf(buffer, "process dump %s", resfile);
okChildString("Arguments", "argvA0", "dummy");
okChildString("Arguments", "CommandLineA", buffer2);
okChildStringWA("Arguments", "CommandLineW", buffer2);