Skip to content

Commit ab2e031

Browse files
author
Kapil Borle
committed
Remove unused variable FindHashtableViolation method
1 parent 90e7aa4 commit ab2e031

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Rules/AlignAssignmentStatement.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,14 +156,13 @@ private IEnumerable<DiagnosticRecord> FindHashtableViolations(TokenOperations to
156156
// This is how the algorithm actually works:
157157
// if each key value pair are on a separate line
158158
// find all the assignment operators
159-
// if all the assignment operators are aligned (check the column number of each alignment operator)
159+
// if all the assignment operators are aligned (check the column number of each assignment operator)
160160
// skip
161161
// else
162162
// find the distance between the assignment operators and their corresponding LHS
163163
// find the longest left expression
164164
// make sure all the assignment operators are in the same column as that of the longest left hand.
165165

166-
var alignments = new List<int>();
167166
foreach (var astItem in hashtableAsts)
168167
{
169168
var hashtableAst = (HashtableAst)astItem;

0 commit comments

Comments
 (0)