diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-17 14:38:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-17 15:02:00 +0100 |
commit | a214369f14d3f53d45b1889827057882c0ffd62e (patch) | |
tree | a9b0cccb45d25324dfa9225d5594607c988922f4 /connectivity | |
parent | 6b2da3ae3ea7f47dff3c807c151f88a9e1ae9964 (diff) |
loplugin:unusedvariablecheck improve
to find unused smart pointer variables
Change-Id: I200bdd8949032a0e061de61f7903a156651793e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127006
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/mysqlc/mysqlc_driver.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/connectivity/source/drivers/mysqlc/mysqlc_driver.cxx b/connectivity/source/drivers/mysqlc/mysqlc_driver.cxx index 5e5b83625e90..d38cfe24eb44 100644 --- a/connectivity/source/drivers/mysqlc/mysqlc_driver.cxx +++ b/connectivity/source/drivers/mysqlc/mysqlc_driver.cxx @@ -84,7 +84,6 @@ Reference<XConnection> SAL_CALL MysqlCDriver::connect(const OUString& url, return nullptr; } - Reference<XConnection> xConn; // create a new connection with the given properties and append it to our vector rtl::Reference<OConnection> pCon = new OConnection(*this); |