msdasql: Remove a couple of unneeded NULL casts.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2022-02-14 13:57:28 +01:00 committed by Alexandre Julliard
parent 6c25edfe24
commit 64a7783386
1 changed files with 1 additions and 1 deletions

View File

@ -547,7 +547,7 @@ static HRESULT WINAPI dbinit_Initialize(IDBInitialize *iface)
} }
ret = SQLConnectW( provider->hdbc, (SQLWCHAR *)V_BSTR(&provider->properties[i].value), 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); TRACE("SQLConnectW ret %d\n", ret);
if (ret != SQL_SUCCESS) if (ret != SQL_SUCCESS)
{ {