fix: Resolving warning

This commit is contained in:
Chris Cameron
2021-06-30 11:05:31 -04:00
parent 11c3e33fc1
commit 06f40e5d22

View File

@@ -21,7 +21,7 @@ namespace ICD.Common.Utils.Csv
/// <summary> /// <summary>
/// If the first row in the file is a header row, this will be populated /// If the first row in the file is a header row, this will be populated
/// </summary> /// </summary>
public string[] Headers; private string[] m_Headers;
#endregion #endregion
@@ -39,11 +39,11 @@ namespace ICD.Common.Utils.Csv
// Do we need to parse headers? // Do we need to parse headers?
if (m_Settings.HeaderRowIncluded) if (m_Settings.HeaderRowIncluded)
{ {
Headers = NextLine(); m_Headers = NextLine();
} }
else else
{ {
Headers = m_Settings.AssumedHeaders != null ? m_Settings.AssumedHeaders.ToArray() : null; m_Headers = m_Settings.AssumedHeaders != null ? m_Settings.AssumedHeaders.ToArray() : null;
} }
} }
#endregion #endregion