Skip to content
Snippets Groups Projects
Commit 9588afdf authored by Markus Blatt's avatar Markus Blatt
Browse files

[release] Removes unused parameter warnings

parent 3bef4991
No related branches found
No related tags found
No related merge requests found
......@@ -853,6 +853,7 @@ namespace Dune {
//! random access
K& operator[] (size_type i)
{
DUNE_UNUSED_PARAMETER(i);
#ifdef DUNE_FMatrix_WITH_CHECKING
if (i!=row_)
DUNE_THROW(FMatrixError,"index is contained in pattern");
......
......@@ -1260,6 +1260,7 @@ namespace Dune
template<class Data, class GatherScatter, bool FORWARD>
inline void BufferedCommunicator::MessageGatherer<Data,GatherScatter,FORWARD,VariableSize>::operator()(const InterfaceMap& interfaces,const Data& data, Type* buffer, size_t bufferSize) const
{
DUNE_UNUSED_PARAMETER(bufferSize);
typedef typename InterfaceMap::const_iterator
const_iterator;
......
......@@ -459,8 +459,7 @@ namespace Dune
*/
template<typename T, typename A, typename A1>
void storeGlobalIndicesOfRemoteIndices(std::map<int,SLList<std::pair<typename T::GlobalIndex, typename T::LocalIndex::Attribute>,A> >& globalMap,
const RemoteIndices<T,A1>& remoteIndices,
const T& indexSet)
const RemoteIndices<T,A1>& remoteIndices)
{
typedef typename RemoteIndices<T,A1>::const_iterator RemoteIterator;
......
......@@ -50,7 +50,7 @@ namespace Dune
return *op;
}
private:
static void operation (Type *in, Type *inout, int *len, MPI_Datatype *dptr)
static void operation (Type *in, Type *inout, int *len, MPI_Datatype*)
{
BinaryFunction func;
......
......@@ -271,10 +271,10 @@ template<>
struct TestSorting<false>
{
template<class Container>
static void testSorting(Container& c, std::random_access_iterator_tag)
static void testSorting(Container&, std::random_access_iterator_tag)
{}
template<class Container, typename IteratorTag>
static void testSorting(Container& c, IteratorTag tag)
static void testSorting(Container&, IteratorTag)
{}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment