fix -Wextra in FreeCADApp

This commit is contained in:
wmayer
2016-09-21 16:05:36 +02:00
parent f408f3180b
commit 71df967fdf
14 changed files with 115 additions and 32 deletions

View File

@@ -118,7 +118,7 @@ void PropertyQuantity::setPyObject(PyObject *value)
PropertyFloat::setValue(quant.getValue());
}
void PropertyQuantity::setPathValue(const ObjectIdentifier &path, const boost::any &value)
void PropertyQuantity::setPathValue(const ObjectIdentifier & /*path*/, const boost::any &value)
{
if (value.type() == typeid(double))
setValue(boost::any_cast<double>(value));
@@ -128,7 +128,7 @@ void PropertyQuantity::setPathValue(const ObjectIdentifier &path, const boost::a
throw bad_cast();
}
const boost::any PropertyQuantity::getPathValue(const ObjectIdentifier &path) const
const boost::any PropertyQuantity::getPathValue(const ObjectIdentifier & /*path*/) const
{
return Quantity(_dValue, _Unit);
}