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:
parent
6c25edfe24
commit
64a7783386
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue