Skip to content

Commit

Permalink
Supress unused variable warning
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Perez <[email protected]>
  • Loading branch information
Blast545 committed May 7, 2024
1 parent 9c97902 commit e250c6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DopplerVelocityLog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1258,6 +1258,7 @@ namespace gz
// Iterate over the beam solid angle in camera coordinates
for (auto v = beamScanPatch.YMin(); v < beamScanPatch.YMax(); ++v)
{
(void) _height; // Supress unused warning in variable used below
assert(v >= 0 && v < static_cast<int>(_height));
const gz::math::Angle inclination =
v * intrinsics.step.Y() + intrinsics.offset.Y();
Expand Down

0 comments on commit e250c6c

Please sign in to comment.