From 2f2e11a37f9e2473dbbe2814b9af4de372c4373d Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Tue, 21 Jul 2020 14:20:36 +0200 Subject: [PATCH] [xharness] Fix compiler warning. --- .../Microsoft.DotNet.XHarness.iOS.Shared/XmlResultParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/XmlResultParser.cs b/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/XmlResultParser.cs index d9c6ea3312e9..0e2f448484ba 100644 --- a/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/XmlResultParser.cs +++ b/tests/xharness/Microsoft.DotNet.XHarness.iOS.Shared/XmlResultParser.cs @@ -348,7 +348,7 @@ static TrxTests ParseTrxXml (XmlReader reader) { var rv = new TrxTests (); var tests = new Dictionary (); - TrxTest lastTest = null; + TrxTest? lastTest = null; while (reader.Read ()) { if (reader.NodeType != XmlNodeType.Element) continue;