diff --git a/test/common/parameters/test_loggingparametertree.cc b/test/common/parameters/test_loggingparametertree.cc index c16761d5989bc6f4443fc80fe055f8a2220c1e11..044b747610fd95005146b6e083cfc04e8b12d759 100644 --- a/test/common/parameters/test_loggingparametertree.cc +++ b/test/common/parameters/test_loggingparametertree.cc @@ -24,7 +24,7 @@ int main (int argc, char *argv[]) try if (!enableGravity) DUNE_THROW(Dune::InvalidStateException, "Gravity should be true!"); // use some given parameters - const auto DUNE_UNUSED(cells) = getParam<std::array<int, 2>>("Grid.Cells", std::array<int, 2>{{1, 1}}); + const auto DUNE_UNUSED cells = getParam<std::array<int, 2>>("Grid.Cells", std::array<int, 2>{{1, 1}}); if (cells[0] != 100 || cells[1] != 100) DUNE_THROW(Dune::InvalidStateException, "Cells should be 100 100!"); auto tEnd = getParam<double>("TimeLoop.TEnd"); diff --git a/test/porousmediumflow/1pncmin/implicit/thermochemproblem.hh b/test/porousmediumflow/1pncmin/implicit/thermochemproblem.hh index 80215b4f09cd1f66ae7c54d9781136c1128ba1af..47eca4d035ca4c6d52d9a360fcf328618e8fbefe 100644 --- a/test/porousmediumflow/1pncmin/implicit/thermochemproblem.hh +++ b/test/porousmediumflow/1pncmin/implicit/thermochemproblem.hh @@ -373,7 +373,6 @@ public: const auto dofIdxGlobal = scv.dofIndex(); permeability_[dofIdxGlobal] = this->spatialParams().permeability(element, scv, elemSol); porosity_[dofIdxGlobal] = volVars.porosity(); - PrimaryVariables reactionRate; reactionRate_[dofIdxGlobal] = rrate_.thermoChemReaction(volVars); } }