Commit 998a49ec authored by Markus Blatt's avatar Markus Blatt
Browse files

Get rid of unused variable compiler warnings.

... to ease live of downstream developers turning these warnings on.
parent 1bd470f1
Pipeline #38058 passed with stage
in 11 minutes and 13 seconds
......@@ -400,7 +400,7 @@ namespace Dune { namespace Impl
// Helper method: Return the derivative of a single Lagrangian factor of l_ij evaluated at x
// direction: Derive in x-direction if this is 0, otherwise derive in y direction
auto lagrangianFactorDerivative = [&lagrangeNode]
(const int direction, const int no, const int i, const int j, const typename Traits::DomainType& x)
(const int direction, const int no, const int i, const int j, const typename Traits::DomainType&)
-> typename Traits::RangeType
{
using T = typename Traits::RangeType;
......
......@@ -38,7 +38,7 @@ namespace Dune
}
//! \brief Evaluate all shape functions
inline void evaluateFunction (const typename Traits::DomainType& in,
inline void evaluateFunction (const typename Traits::DomainType&,
std::vector<typename Traits::RangeType>& out) const
{
out.resize(1);
......@@ -47,7 +47,7 @@ namespace Dune
//! \brief Evaluate Jacobian of all shape functions
inline void
evaluateJacobian (const typename Traits::DomainType& in, // position
evaluateJacobian (const typename Traits::DomainType&, // position
std::vector<typename Traits::JacobianType>& out) const // return value
{
out.resize(1);
......
......@@ -32,7 +32,7 @@ namespace Dune
}
//! get i'th index
const LocalKey& localKey (std::size_t i) const
const LocalKey& localKey ([[maybe_unused]] std::size_t i) const
{
return index;
}
......
......@@ -32,7 +32,7 @@ namespace Dune
typedef typename P0LocalFiniteElement<D,R,d>::Traits::LocalBasisType::Traits T;
//! create finite element for given GeometryType
static LocalFiniteElementVirtualInterface<T>* create(const GeometryType& gt)
static LocalFiniteElementVirtualInterface<T>* create(const GeometryType&)
{
return nullptr;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment