[PATCH] msdasql: Remove a couple of unneeded NULL casts.

Francois Gouget fgouget at free.fr
Mon Feb 14 06:57:28 CST 2022


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 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)
     {
-- 
2.30.2




More information about the wine-devel mailing list