Francois Gouget : msdasql: Remove a couple of unneeded NULL casts.
Alexandre Julliard
julliard at winehq.org
Mon Feb 14 15:41:31 CST 2022
Module: wine
Branch: master
Commit: 64a778338664ec65994f9a185d8c7b2cf2174890
URL: https://source.winehq.org/git/wine.git/?a=commit;h=64a778338664ec65994f9a185d8c7b2cf2174890
Author: Francois Gouget <fgouget at free.fr>
Date: Mon Feb 14 13:57:28 2022 +0100
msdasql: Remove a couple of unneeded NULL casts.
Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msdasql/msdasql_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msdasql/msdasql_main.c b/dlls/msdasql/msdasql_main.c
index 3e1af95b1a7..60d46349590 100644
--- a/dlls/msdasql/msdasql_main.c
+++ b/dlls/msdasql/msdasql_main.c
@@ -547,7 +547,7 @@ static HRESULT WINAPI dbinit_Initialize(IDBInitialize *iface)
}
ret = SQLConnectW( provider->hdbc, (SQLWCHAR *)V_BSTR(&provider->properties[i].value),
- SQL_NTS, (SQLWCHAR *)NULL, SQL_NTS, (SQLWCHAR *)NULL, SQL_NTS );
+ SQL_NTS, NULL, SQL_NTS, NULL, SQL_NTS );
TRACE("SQLConnectW ret %d\n", ret);
if (ret != SQL_SUCCESS)
{
More information about the wine-cvs
mailing list