Skip to content

Commit a99cd6d

Browse files
committed
Actually assigning the chached variable
1 parent 11aff78 commit a99cd6d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/Microsoft.VisualStudio.Jdt/JdtUtilities.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,15 @@ internal static LineInfoHandling GetLineInfoHandling()
5757

5858
if (newtonsoftVersion >= new Version("10.0.2"))
5959
{
60-
return LineInfoHandling.Load;
60+
lineInfoHandling = LineInfoHandling.Load;
6161
}
6262
else
6363
{
64-
return LineInfoHandling.Ignore;
64+
lineInfoHandling = LineInfoHandling.Ignore;
6565
}
6666
}
67-
else
68-
{
69-
return lineInfoHandling.Value;
70-
}
67+
68+
return lineInfoHandling.Value;
7169
}
7270
}
7371
}

0 commit comments

Comments
 (0)