fix -Wextra in Points

This commit is contained in:
wmayer
2016-09-21 21:10:41 +02:00
parent 1e6dcabefc
commit dec6897ec9
5 changed files with 17 additions and 6 deletions

View File

@@ -52,12 +52,12 @@ std::vector<const char*> PointKernel::getElementTypes(void) const
return temp;
}
unsigned long PointKernel::countSubElements(const char* Type) const
unsigned long PointKernel::countSubElements(const char* /*Type*/) const
{
return 0;
}
Data::Segment* PointKernel::getSubElement(const char* Type, unsigned long n) const
Data::Segment* PointKernel::getSubElement(const char* /*Type*/, unsigned long /*n*/) const
{
//unsigned long i = 1;
@@ -194,8 +194,8 @@ void PointKernel::save(std::ostream& out) const
}
void PointKernel::getPoints(std::vector<Base::Vector3d> &Points,
std::vector<Base::Vector3d> &Normals,
float Accuracy, uint16_t flags) const
std::vector<Base::Vector3d> &/*Normals*/,
float /*Accuracy*/, uint16_t /*flags*/) const
{
unsigned long ctpoints = _Points.size();
Points.reserve(ctpoints);