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

This commit is contained in:
Hans Leidekker 2011-03-10 12:45:17 +01:00 committed by Alexandre Julliard
parent 710b643b2f
commit 92405a2d98
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}