summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-04 12:20:58 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-03-04 11:20:09 +0000
commit46c67c43236a8250e56d6af1a1caada73e8abb70 (patch)
tree49c976599ebad64b01891abf4f8a732ba211b4e5 /compilerplugins
parentff45bc33465d54253f9e3da2e24b1b2b09c2b1d9 (diff)
loplugin:unuseddefaultparam in tools
Change-Id: I027f4d53e3aa793bd61bf110899e464a9b6430ec Reviewed-on: https://gerrit.libreoffice.org/22891 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/unuseddefaultparams.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/unuseddefaultparams.cxx b/compilerplugins/clang/unuseddefaultparams.cxx
index e8b99d37e679..8074e519f4fd 100644
--- a/compilerplugins/clang/unuseddefaultparams.cxx
+++ b/compilerplugins/clang/unuseddefaultparams.cxx
@@ -240,7 +240,7 @@ bool UnusedDefaultParams::VisitDeclRefExpr( const DeclRefExpr* declRefExpr )
return true;
}
-loplugin::Plugin::Registration< UnusedDefaultParams > X("unuseddefaultparams", false);
+loplugin::Plugin::Registration< UnusedDefaultParams > X("unuseddefaultparams", true);
}