mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-08-31 19:28:18 +00:00
fix: Resolving warning
This commit is contained in:
parent
11c3e33fc1
commit
06f40e5d22
1 changed files with 3 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ namespace ICD.Common.Utils.Csv
|
|||
/// <summary>
|
||||
/// If the first row in the file is a header row, this will be populated
|
||||
/// </summary>
|
||||
public string[] Headers;
|
||||
private string[] m_Headers;
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
@ -39,11 +39,11 @@ namespace ICD.Common.Utils.Csv
|
|||
// Do we need to parse headers?
|
||||
if (m_Settings.HeaderRowIncluded)
|
||||
{
|
||||
Headers = NextLine();
|
||||
m_Headers = NextLine();
|
||||
}
|
||||
else
|
||||
{
|
||||
Headers = m_Settings.AssumedHeaders != null ? m_Settings.AssumedHeaders.ToArray() : null;
|
||||
m_Headers = m_Settings.AssumedHeaders != null ? m_Settings.AssumedHeaders.ToArray() : null;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue