Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 2a98831

Browse files
committed
Remove redundant span assignments
1 parent 3db4494 commit 2a98831

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/GitHub.InlineReviews/Glyph/GlyphMargin.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,11 @@ void OnBatchedTagsChanged(object sender, BatchedTagsChangedEventArgs e)
139139
{
140140
var span = list[0];
141141
int start = span.Start;
142-
span = list[0];
143142
int end = span.End;
144143
for (int i = 1; i < list.Count; i++)
145144
{
146145
span = list[i];
147146
start = Math.Min(start, span.Start);
148-
span = list[i];
149147
end = Math.Max(end, span.End);
150148
}
151149

0 commit comments

Comments
 (0)