summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorGabor Kelemen <kelemeng@ubuntu.com>2023-04-15 21:22:45 +0200
committerMiklos Vajna <vmiklos@collabora.com>2023-04-25 08:09:28 +0200
commit75ed56689427f972ce58e395af8aaf951dda7581 (patch)
treef02b1f7712ea688d7ee029729274f80b43c21f50 /connectivity
parent26bf26272bf525b59b4a4ce18b3ce14c1febfd7b (diff)
Add script to find unused using declarations
As a complementer to clang-tidy-12 --checks="-*,misc-unused-using-decls" Pros: - simple, fast! - finds some more unused declarations, somehow - works on non-linux specific parts of the code - clang-tidy (for me) trips on files with external headers, this does not Change-Id: If2db989114ac5c2841ed2e89ff7bd7a9e419f567 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150612 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/postgresql/pq_driver.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_driver.cxx b/connectivity/source/drivers/postgresql/pq_driver.cxx
index aa443bad8350..8e07123a2b0f 100644
--- a/connectivity/source/drivers/postgresql/pq_driver.cxx
+++ b/connectivity/source/drivers/postgresql/pq_driver.cxx
@@ -40,8 +40,6 @@
#include "pq_driver.hxx"
-using osl::MutexGuard;
-
using com::sun::star::uno::Sequence;
using com::sun::star::uno::Reference;
using com::sun::star::uno::XInterface;