From bd628989debd9fa59892d6d227892c26650b1cec Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Fri, 2 Jul 2021 18:56:46 +0200 Subject: [PATCH] [PL/RCT] Remove unreachable code. OGS_FATAL() call does not return. --- .../CreateRichardsComponentTransportProcess.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/ProcessLib/RichardsComponentTransport/CreateRichardsComponentTransportProcess.cpp b/ProcessLib/RichardsComponentTransport/CreateRichardsComponentTransportProcess.cpp index ae6d367d759..50fb71cf6f0 100644 --- a/ProcessLib/RichardsComponentTransport/CreateRichardsComponentTransportProcess.cpp +++ b/ProcessLib/RichardsComponentTransport/CreateRichardsComponentTransportProcess.cpp @@ -123,14 +123,6 @@ std::unique_ptr<Process> createRichardsComponentTransportProcess( else // staggered scheme. { OGS_FATAL("The staggered coupling scheme is not implemented."); - - using namespace std::string_literals; - for (auto const& variable_name : {"concentration"s, "pressure"s}) - { - auto per_process_variables = - findProcessVariables(variables, pv_config, {variable_name}); - process_variables.push_back(std::move(per_process_variables)); - } } // Specific body force parameter. -- GitLab