Skip to content
Snippets Groups Projects
Commit fb80c13d authored by graeser's avatar graeser
Browse files

[cleanup] Don't store unused references to MPIHelper singleton

This removes some unused variable warnings.
parent 1f4aa5e7
Branches
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ struct FooBar
int main ( int argc, char **argv )
try
{
Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv);
Dune::MPIHelper::instance(argc, argv);
Dune::Functions::TestSuite test;
......
......@@ -224,7 +224,7 @@ struct DerivativeRangeTerminationTest
int main ( int argc, char **argv )
try
{
Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv);
Dune::MPIHelper::instance(argc, argv);
bool passed = true;
passed = passed and DifferentiableFunctionImplementableTest::check();
......
......@@ -377,7 +377,7 @@ void testOnHybridGrid()
int main (int argc, char* argv[]) try
{
Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv);
Dune::MPIHelper::instance(argc, argv);
testOnStructuredGrid<1>();
testOnStructuredGrid<2>();
......
......@@ -18,7 +18,7 @@ using namespace Dune::Functions;
int main (int argc, char* argv[]) try
{
Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv);
Dune::MPIHelper::instance(argc, argv);
// Generate grid for testing
const int dim = 2;
typedef YaspGrid<dim> GridType;
......
......@@ -30,7 +30,7 @@ double x_component_B(const Coord & x)
int main (int argc, char* argv[]) try
{
Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv);
Dune::MPIHelper::instance(argc, argv);
// Generate grid for testing
const int dim = 2;
typedef YaspGrid<dim> GridType;
......
......@@ -49,7 +49,7 @@ bool checkInterpolationConsistency(B&& basis, C&& x)
int main (int argc, char* argv[]) try
{
Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv);
Dune::MPIHelper::instance(argc, argv);
bool passed = true;
// Generate grid for testing
......
......@@ -28,7 +28,7 @@ using namespace Dune::Functions;
int main (int argc, char* argv[]) try
{
Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv);
Dune::MPIHelper::instance(argc, argv);
// Generate grid for testing
const int dim = 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment