new loplugin: singlevalfields
look for fields that only have a single constant value assigned to them Change-Id: Iafcd37fdb8a8119bbc00f92981a1a01badf9c5a2
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
#include "compat.hxx"
|
||||
|
||||
/*
|
||||
Find methods with default params, where the callers never specify the default param i.e.
|
||||
might as well remove it.
|
||||
Find params on methods where the param is only ever passed as a single constant value.
|
||||
|
||||
The process goes something like this:
|
||||
$ make check
|
||||
|
Reference in New Issue
Block a user