summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-08-17 21:41:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-08-18 14:48:51 +0200
commit16d9d1d1122bbf9f6dc0748b41826a59a8551716 (patch)
tree0252fe6ebf630f9023c2840713bfc1906bcc36dd /vcl
parente98694bd787ead49b08e8490999cae0122626d40 (diff)
new loplugin:unusedvarsglobal
I copied and modified the unusedfields plugin to find unused variables. Change-Id: I18ed6daa202da70a2e564e4fe4760aed7ce070ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100891 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/driverblocklist.hxx1
-rw-r--r--vcl/source/window/EnumContext.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/driverblocklist.hxx b/vcl/inc/driverblocklist.hxx
index d8f8a40dfdbd..f28dc418383a 100644
--- a/vcl/inc/driverblocklist.hxx
+++ b/vcl/inc/driverblocklist.hxx
@@ -93,7 +93,6 @@ struct DriverInfo
/* versions are assumed to be A.B.C.D packed as 0xAAAABBBBCCCCDDDD */
uint64_t mnDriverVersion;
uint64_t mnDriverVersionMax;
- static uint64_t allDriverVersions;
OUString maSuggestedVersion;
OUString maMsg;
diff --git a/vcl/source/window/EnumContext.cxx b/vcl/source/window/EnumContext.cxx
index b7d001c1b50b..7d3d704180f4 100644
--- a/vcl/source/window/EnumContext.cxx
+++ b/vcl/source/window/EnumContext.cxx
@@ -40,7 +40,6 @@ o3tl::enumarray<EnumContext::Context, OUString> maContextVector;
}
const sal_Int32 EnumContext::NoMatch = 4;
-const sal_Int32 EnumContext::OptimalMatch = 0; // Neither application nor context name is "any".
EnumContext::EnumContext()
: meApplication(Application::NONE),