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

[release] Removes unused parameter warnings with -Wall -Wextra

parent 6701492a
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ struct CopyData {
template<class T>
void doCalculations(T& t){}
void doCalculations(T&){}
#if HAVE_MPI
void test()
......
......@@ -65,6 +65,7 @@ namespace Dune
//! deallocate n objects of type T at address p
void deallocate(pointer p, size_type n)
{
(void)n;
std::free(p);
}
......
......@@ -1232,7 +1232,7 @@ namespace Dune
template<class Data>
inline int BufferedCommunicator::MessageSizeCalculator<Data,SizeOne>::operator()
(const Data& data, const InterfaceInformation& info) const
(const Data&, const InterfaceInformation& info) const
{
return operator()(info);
}
......@@ -1285,7 +1285,7 @@ namespace Dune
template<class Data, class GatherScatter, bool FORWARD>
inline void BufferedCommunicator::MessageGatherer<Data,GatherScatter,FORWARD,SizeOne>::operator()(const InterfaceMap& interfaces, const Data& data, Type* buffer, size_t bufferSize) const
inline void BufferedCommunicator::MessageGatherer<Data,GatherScatter,FORWARD,SizeOne>::operator()(const InterfaceMap& interfaces, const Data& data, Type* buffer, size_t) const
{
typedef typename InterfaceMap::const_iterator
const_iterator;
......
......@@ -129,6 +129,7 @@ namespace Dune
*/
DUNE_EXPORT static FakeMPIHelper& instance(int argc, char** argv)
{
(void)argc; (void)argv;
// create singleton instance
static FakeMPIHelper singleton;
return singleton;
......
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