Skip to content

Commit fc73e36

Browse files
committed
Fix maybe-uninitialized
1 parent b332268 commit fc73e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ed_sensor_integration/src/laser/updater.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ EntityUpdate LaserUpdater::segmentToConvexHull(const ScanSegment& segment, const
568568

569569
std::vector<geo::Vec2f> points(segment_size);
570570

571-
float z_min, z_max;
571+
float z_min = 0., z_max = 0.;
572572
for(unsigned int i = 0; i < segment_size; ++i)
573573
{
574574
unsigned int j = segment[i];

0 commit comments

Comments
 (0)