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>
This commit is contained in:
Noel Grandin
2016-03-04 12:20:58 +02:00
committed by Noel Grandin
parent ff45bc3346
commit 46c67c4323
7 changed files with 52 additions and 83 deletions

View File

@@ -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);
}