mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 19:45:39 +00:00
Fixed warnings.
This commit is contained in:
parent
81cbb28d07
commit
bef32c65a2
|
@ -127,18 +127,7 @@ static const DM_FUNC template_func[] =
|
||||||
/* 77 */ { SQL_API_SQLGETDIAGREC, "SQLGetDiagRec", SQLGetDiagRec, NULL },
|
/* 77 */ { SQL_API_SQLGETDIAGREC, "SQLGetDiagRec", SQLGetDiagRec, NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
static PROXYHANDLE gProxyHandle = {
|
static PROXYHANDLE gProxyHandle;
|
||||||
NULL,
|
|
||||||
FALSE,
|
|
||||||
FALSE,
|
|
||||||
FALSE,
|
|
||||||
ERROR_LIBRARY_NOT_FOUND,
|
|
||||||
{ 0, 0, 0, 0 },
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
"",
|
|
||||||
""
|
|
||||||
};
|
|
||||||
|
|
||||||
/* What is the difference between these two (dmHandle cf READY_AND_dmHandle)? When does one use one and when the other? */
|
/* What is the difference between these two (dmHandle cf READY_AND_dmHandle)? When does one use one and when the other? */
|
||||||
|
|
||||||
|
@ -231,6 +220,7 @@ static BOOL ODBC_LoadDriverManager(void)
|
||||||
TRACE("\n");
|
TRACE("\n");
|
||||||
|
|
||||||
gProxyHandle.bFunctionReady = FALSE;
|
gProxyHandle.bFunctionReady = FALSE;
|
||||||
|
gProxyHandle.nErrorType = ERROR_LIBRARY_NOT_FOUND;
|
||||||
|
|
||||||
if (s!= NULL && strlen (s) >= sizeof(gProxyHandle.dmLibName))
|
if (s!= NULL && strlen (s) >= sizeof(gProxyHandle.dmLibName))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue