Eric Pouech : mscoree/tests: Remove unused parameter in sprintf.
Alexandre Julliard
julliard at winehq.org
Wed Oct 13 15:59:27 CDT 2021
Module: wine
Branch: master
Commit: 7b5e8ef1d84a3f1c78a1dc467a671d5b8785116f
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7b5e8ef1d84a3f1c78a1dc467a671d5b8785116f
Author: Eric Pouech <eric.pouech at gmail.com>
Date: Wed Oct 13 15:15:24 2021 +0200
mscoree/tests: Remove unused parameter in sprintf.
Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Esme Povirk <esme at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mscoree/tests/comtest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mscoree/tests/comtest.c b/dlls/mscoree/tests/comtest.c
index 6c0d081cbd3..f6dc93c1070 100644
--- a/dlls/mscoree/tests/comtest.c
+++ b/dlls/mscoree/tests/comtest.c
@@ -166,7 +166,7 @@ static void run_registry_test(run_type run)
if (run == run_type_exe_directory) result_expected = S_OK;
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 );
if (ret == ERROR_ACCESS_DENIED && !IsUserAnAdmin())
{
More information about the wine-cvs
mailing list