coverity#738615 Uninitialized pointer field
Change-Id: I33e67198c99cfa6bd240b4ca7eeeb32c8f91cb6d
This commit is contained in:
@@ -160,12 +160,12 @@ struct OdbcTypesImpl
|
|||||||
OOdbcEnumeration::OOdbcEnumeration()
|
OOdbcEnumeration::OOdbcEnumeration()
|
||||||
#ifdef HAVE_ODBC_SUPPORT
|
#ifdef HAVE_ODBC_SUPPORT
|
||||||
:m_pAllocHandle(NULL)
|
:m_pAllocHandle(NULL)
|
||||||
|
,m_pFreeHandle(NULL)
|
||||||
,m_pSetEnvAttr(NULL)
|
,m_pSetEnvAttr(NULL)
|
||||||
,m_pDataSources(NULL)
|
,m_pDataSources(NULL)
|
||||||
,m_pImpl(new OdbcTypesImpl)
|
,m_pImpl(new OdbcTypesImpl)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
|
||||||
sal_Bool bLoaded = load(ODBC_LIBRARY);
|
sal_Bool bLoaded = load(ODBC_LIBRARY);
|
||||||
#ifdef ODBC_LIBRARY_1
|
#ifdef ODBC_LIBRARY_1
|
||||||
if ( !bLoaded )
|
if ( !bLoaded )
|
||||||
|
Reference in New Issue
Block a user