Avoid warning by not storing MPIHelper instance reference.

This commit is contained in:
Atgeirr Flø Rasmussen
2014-04-15 20:47:37 +02:00
parent 1e75efd097
commit de695f3cd5

View File

@@ -101,7 +101,10 @@ int
main(int argc, char** argv)
try
{
Dune::MPIHelper& helper= Dune::MPIHelper::instance(argc, argv);
// Must ensure an instance of the helper is created to initialise MPI,
// but we don't use the helper here.
// Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv);
Dune::MPIHelper::instance(argc, argv);
using namespace Opm;
std::cout << "\n================ Test program for fully implicit three-phase black-oil flow ===============\n\n";