Skip to content

Commit b332268

Browse files
committed
Fix unused-parameter
1 parent dd04a9b commit b332268

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ed_sensor_integration/src/kinect/ray_tracer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class PointRenderResult : public geo::LaserRangeFinder::RenderResult
2121

2222
PointRenderResult() : geo::LaserRangeFinder::RenderResult(dummy_ranges_), depth_(0.0), entity_("") {}
2323

24-
void renderPoint(uint index, float depth)
24+
void renderPoint(uint /*index*/, float depth)
2525
{
2626
float old_depth = depth_;
2727
if (old_depth == 0.0 || depth < old_depth)

ed_sensor_integration/src/kinect/renderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SampleRenderResult : public geo::RenderResult
2222
{
2323
}
2424

25-
void renderPixel(int x, int y, float depth, int i_triangle)
25+
void renderPixel(int x, int y, float depth, int /*i_triangle*/)
2626
{
2727
float old_depth = z_buffer_.at<float>(y, x);
2828
if (old_depth == 0)

ed_sensor_integration/src/kinect/segmenter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class DepthRenderer : public geo::RenderResult
4545
{
4646
}
4747

48-
void renderPixel(int x, int y, float depth, int i_triangle)
48+
void renderPixel(int x, int y, float depth, int /*i_triangle*/)
4949
{
5050
float& old_depth = z_buffer.at<float>(y, x);
5151
if (old_depth == 0 || depth < old_depth)
@@ -107,7 +107,7 @@ class MinMaxRenderer : public geo::RenderResult
107107
max_buffer = cv::Mat(height, width, CV_32FC1, 0.0);
108108
}
109109

110-
void renderPixel(int x, int y, float depth, int i_triangle)
110+
void renderPixel(int x, int y, float depth, int /*i_triangle*/)
111111
{
112112
// TODO: now the renderer can only deal with convex meshes, which means
113113
// that at each pixel there can only be one minimum and one maximum pixel

0 commit comments

Comments
 (0)