diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-12-07 22:18:49 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-12-07 22:19:36 +0100 |
commit | a99bf813c0079c26f2a2c940c3db8d8597e3047f (patch) | |
tree | a22af547f7066ef83d4d2ab1e6e60f90c78b1204 /connectivity/source/drivers/ado/Awrapado.cxx | |
parent | 632cdffd08df8cdaeba47c6c42c7f718aaf9e751 (diff) |
Some cppcheck cleaning
Change-Id: I5e8c768981dc6b8029bdc7eb8887562ccc18a5e2
Diffstat (limited to 'connectivity/source/drivers/ado/Awrapado.cxx')
-rw-r--r-- | connectivity/source/drivers/ado/Awrapado.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/ado/Awrapado.cxx b/connectivity/source/drivers/ado/Awrapado.cxx index 08535858cf55..b0cb037d8f27 100644 --- a/connectivity/source/drivers/ado/Awrapado.cxx +++ b/connectivity/source/drivers/ado/Awrapado.cxx @@ -36,9 +36,8 @@ using namespace connectivity::ado; void WpADOCatalog::Create() { - HRESULT hr = -1; _ADOCatalog* pCommand; - hr = CoCreateInstance(ADOS::CLSID_ADOCATALOG_25, + HRESULT hr = CoCreateInstance(ADOS::CLSID_ADOCATALOG_25, NULL, CLSCTX_INPROC_SERVER, ADOS::IID_ADOCATALOG_25, |