Skip to content

Commit

Permalink
Fix compiler warning on gcc 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
wesm committed Aug 1, 2022
1 parent 30963a7 commit a3a1820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/compute/kernels/util_internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ struct PhysicalTypeVisitor {
} // namespace

const DataType* GetPhysicalType(const DataType* real_type) {
PhysicalTypeVisitor visitor{real_type, {}};
PhysicalTypeVisitor visitor{real_type, nullptr};
ARROW_CHECK_OK(VisitTypeInline(*real_type, &visitor));
return visitor.result;
}
Expand Down

0 comments on commit a3a1820

Please sign in to comment.