Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Sondergaard committed Jun 13, 2024
1 parent 06eb108 commit 59d0e34
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ internal static class IArrowArrayExtensions
Decimal128Array decimal128Array => decimal128Array.GetValue(i),
StringArray stringArray => stringArray.GetString(i),
ListArray listArray => ReadArray(listArray, i),
StructArray structArray => ReadStruct(structArray, i),
StructArray structArray => ReadStruct(structArray),
_ => throw new NotSupportedException($"Unsupported data type {arrowArray}"),
};

Expand All @@ -56,7 +56,7 @@ internal static class IArrowArrayExtensions
return objectArray;
}

private static object? ReadStruct(StructArray array, int i)
private static object? ReadStruct(StructArray array)
{
if (array.Data.DataType is not StructType structType)
return null;
Expand Down

0 comments on commit 59d0e34

Please sign in to comment.