diff options
author | Néstor Salceda <nestor@mono-cvs.ximian.com> | 2008-02-16 18:08:41 +0300 |
---|---|---|
committer | Néstor Salceda <nestor@mono-cvs.ximian.com> | 2008-02-16 18:08:41 +0300 |
commit | 86635a8543dc6a6dc3959093c1fe3a95fc66b804 (patch) | |
tree | a4741fb4383a65d351aa77016843e0dce7dc3fce /gendarme/rules | |
parent | 63252b1730d3f5549b89a244e1c42835b2929fdc (diff) |
2008-02-16 Nestor Salceda <nestor.salceda@gmail.com>
* AvoidUnusedParametersRule.cs: Removed unused variable.
svn path=/trunk/mono-tools/; revision=95891
Diffstat (limited to 'gendarme/rules')
-rw-r--r-- | gendarme/rules/Gendarme.Rules.Performance/AvoidUnusedParametersRule.cs | 1 | ||||
-rw-r--r-- | gendarme/rules/Gendarme.Rules.Performance/ChangeLog | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gendarme/rules/Gendarme.Rules.Performance/AvoidUnusedParametersRule.cs b/gendarme/rules/Gendarme.Rules.Performance/AvoidUnusedParametersRule.cs index b86d0bda..a14256bb 100644 --- a/gendarme/rules/Gendarme.Rules.Performance/AvoidUnusedParametersRule.cs +++ b/gendarme/rules/Gendarme.Rules.Performance/AvoidUnusedParametersRule.cs @@ -124,7 +124,6 @@ namespace Gendarme.Rules.Performance { return RuleResult.DoesNotApply; // rule applies - bool containsUnusedParameters = false; foreach (ParameterDefinition parameter in GetUnusedParameters (method)) { Runner.Report (parameter, Severity.Medium, Confidence.Normal, String.Format ("The parameter {0} is never used", parameter.Name)); } diff --git a/gendarme/rules/Gendarme.Rules.Performance/ChangeLog b/gendarme/rules/Gendarme.Rules.Performance/ChangeLog index 8f15c199..b39ff879 100644 --- a/gendarme/rules/Gendarme.Rules.Performance/ChangeLog +++ b/gendarme/rules/Gendarme.Rules.Performance/ChangeLog @@ -1,3 +1,7 @@ +2008-02-16 Nestor Salceda <nestor.salceda@gmail.com> + + * AvoidUnusedParametersRule.cs: Removed unused variable. + 2008-02-15 Sebastien Pouliot <sebastien@ximian.com> * EmptyDestructorRule.cs |