mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-01-11 19:44:55 +00:00
fix: Resolving warning
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user