mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 15:54:09 +00:00
mscoree/tests: Remove unused parameter in sprintf.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Esme Povirk <esme@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5740b091b9
commit
7b5e8ef1d8
|
@ -166,7 +166,7 @@ static void run_registry_test(run_type run)
|
||||||
if (run == run_type_exe_directory) result_expected = S_OK;
|
if (run == run_type_exe_directory) result_expected = S_OK;
|
||||||
else result_expected = HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND);
|
else result_expected = HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND);
|
||||||
|
|
||||||
sprintf(buffer, "CLSID\\%s", wine_dbgstr_guid(&CLSID_Test), "");
|
sprintf(buffer, "CLSID\\%s", wine_dbgstr_guid(&CLSID_Test));
|
||||||
ret = RegCreateKeyA( HKEY_CLASSES_ROOT, buffer, &hkey );
|
ret = RegCreateKeyA( HKEY_CLASSES_ROOT, buffer, &hkey );
|
||||||
if (ret == ERROR_ACCESS_DENIED && !IsUserAnAdmin())
|
if (ret == ERROR_ACCESS_DENIED && !IsUserAnAdmin())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue