Commit 92405a2d authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

odbccp32: Initialize the usage count in SQLRemoveDriverManager and SQLRemoveDriver (valgrind).

parent 710b643b
......@@ -845,6 +845,7 @@ BOOL WINAPI SQLRemoveDriverW(LPCWSTR lpszDriver, BOOL fRemoveDSN,
{
clear_errors();
FIXME("stub\n");
if (lpdwUsageCount) *lpdwUsageCount = 1;
return TRUE;
}
......@@ -853,6 +854,7 @@ BOOL WINAPI SQLRemoveDriver(LPCSTR lpszDriver, BOOL fRemoveDSN,
{
clear_errors();
FIXME("stub\n");
if (lpdwUsageCount) *lpdwUsageCount = 1;
return TRUE;
}
......@@ -860,6 +862,7 @@ BOOL WINAPI SQLRemoveDriverManager(LPDWORD pdwUsageCount)
{
clear_errors();
FIXME("stub\n");
if (pdwUsageCount) *pdwUsageCount = 1;
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment