summaryrefslogtreecommitdiff
path: root/vcl/source/window
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/source/window
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/source/window')
-rw-r--r--vcl/source/window/EnumContext.cxx1
1 files changed, 0 insertions, 1 deletions
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),