From 2a2f24e4df6c615d8a3e23dd3c8347cf727da00b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:29:30 +0000 Subject: [PATCH] ci(pre-commit): autofix --- .../nebula_decoders_velodyne/decoders/vls128_decoder.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nebula_decoders/src/nebula_decoders_velodyne/decoders/vls128_decoder.cpp b/nebula_decoders/src/nebula_decoders_velodyne/decoders/vls128_decoder.cpp index cb2555f99..fd1b6f11e 100644 --- a/nebula_decoders/src/nebula_decoders_velodyne/decoders/vls128_decoder.cpp +++ b/nebula_decoders/src/nebula_decoders_velodyne/decoders/vls128_decoder.cpp @@ -206,10 +206,8 @@ void Vls128Decoder::unpack(const std::vector & packet, double packet_se // azimuth <= sensor_configuration_->cloud_max_angle) || (sensor_configuration_->cloud_min_angle > sensor_configuration_->cloud_max_angle)) { for (size_t j = 0, k = 0; j < g_scans_per_block; j++, k += g_raw_scan_size) { - union two_bytes current_return { - }; - union two_bytes other_return { - }; + union two_bytes current_return{}; + union two_bytes other_return{}; // Distance extraction. current_return.bytes[0] = current_block.data[k]; current_return.bytes[1] = current_block.data[k + 1];