Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 7, 2024
1 parent 07d1896 commit de4e0ed
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,8 @@ void Vls128Decoder::unpack(const std::vector<uint8_t> & 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];
Expand Down

0 comments on commit de4e0ed

Please sign in to comment.