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:
parent
9d38c4864c
commit
f08abe0811
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue