Commit 545ea75a authored by Markus Blatt's avatar Markus Blatt
Browse files

Merge branch 'feature/shut-up-compiler-warnings' into 'master'

Get rid of unused variable compiler warnings.

See merge request !201

(cherry picked from commit d16858f3)

998a49ec Get rid of unused variable compiler warnings.
parent 6780bc69
Pipeline #38068 passed with stage
in 27 minutes and 45 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
......@@ -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
......@@ -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;
Supports Markdown
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