Skip to content

Commit

Permalink
Merge pull request #3427 from SergioRAgostinho/warnings
Browse files Browse the repository at this point in the history
Suppress Multiple Warnings
  • Loading branch information
SergioRAgostinho authored Oct 25, 2019
2 parents f5997d3 + fa6081c commit 15d1187
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions io/tools/openni_grabber_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ class SimpleOpenNIProcessor
interface.stop ();
else
interface.start ();
break;
case 's':
save = !save;
}
Expand Down
4 changes: 4 additions & 0 deletions outofcore/include/pcl/outofcore/visualization/camera.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
// PCL
#include <pcl/outofcore/visualization/object.h>
#include <pcl/common/eigen.h>
#include <pcl/pcl_macros.h>

// VTK
#include <vtkActor.h>
Expand Down Expand Up @@ -130,6 +131,9 @@ class Camera : public Object
void
printFrustum ();

// Aligned operator, because of Eigen members
PCL_MAKE_ALIGNED_OPERATOR_NEW

private:

// Members
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ pcl::GrabCut<PointT>::initCompute ()
}

std::vector<pcl::PCLPointField> in_fields_;
if ((pcl::getFieldIndex<PointT> (*input_, "rgb", in_fields_) == -1) &&
(pcl::getFieldIndex<PointT> (*input_, "rgba", in_fields_) == -1))
if ((pcl::getFieldIndex<PointT> ("rgb", in_fields_) == -1) &&
(pcl::getFieldIndex<PointT> ("rgba", in_fields_) == -1))
{
PCL_ERROR ("[pcl::GrabCut::initCompute ()] No RGB data available, aborting!");
return (false);
Expand Down

0 comments on commit 15d1187

Please sign in to comment.